Change to actual path, so 301 redirect doesnt occur and browser wont change method
All checks were successful
FTP Upload on Push / deploy (push) Successful in 5s
FTP Upload on Push / release (push) Successful in 5s

This commit is contained in:
2025-12-26 19:36:42 +00:00
parent ab164256df
commit bf7570055e

View File

@@ -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}`);