diff --git a/index.html b/index.html index 2172331..3dc198b 100644 --- a/index.html +++ b/index.html @@ -604,7 +604,7 @@ try { const code = codeEditor.getValue(); - const response = await fetch('/codestorage', { + const response = await fetch('/codestorage/default.php', { method: 'POST', headers: { 'Content-Type': 'text/plain' @@ -681,7 +681,7 @@ if (id) { try { - const response = await fetch(`/codestorage?id=${id}`); + const response = await fetch(`/codestorage/default.php?id=${id}`); if (!response.ok) { throw new Error(`HTTP error! status: ${response.status}`);