diff --git a/web/assets/js/modules/api.js b/web/assets/js/modules/api.js index 6140672..12db361 100644 --- a/web/assets/js/modules/api.js +++ b/web/assets/js/modules/api.js @@ -9,7 +9,7 @@ export async function getPaste(pasteID) { } export async function createPaste(content, metadata) { - return fetch(API_BASE_URL + "/pastes", { + return fetch(API_BASE_URL + "/pastes/", { method: "POST", headers: { "Content-Type": "application/json"