アップロードのエンドポイントを変更

This commit is contained in:
yuuki
2024-12-05 19:02:46 +09:00
parent 21bd77bb07
commit 45cc38a4d2
2 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ function uploadFiles() {
const form = document.querySelector("#upload-form");
const formData = new FormData(form);
fetch("/upload", {
fetch("/api/upload", {
method: "POST",
body: formData,
})