1
0
mirror of https://github.com/lus/pasty.git synced 2023-08-10 21:13:09 +03:00

Fix trailing slash

This commit is contained in:
Lukas Schulte Pelkum 2021-07-23 23:50:01 +02:00
parent 70c4392390
commit 7af1f9431b
No known key found for this signature in database
GPG Key ID: 408DA7CA81DB885C

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"