Fix paste creation URL in frontend

This commit is contained in:
Lukas Schulte Pelkum 2021-10-15 17:51:02 +02:00
parent bd10c3321e
commit efe0ec7556
No known key found for this signature in database
GPG Key ID: 408DA7CA81DB885C
1 changed files with 1 additions and 1 deletions

View File

@ -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"