mirror of
https://github.com/lus/pasty.git
synced 2023-08-10 21:13:09 +03:00
Fix paste creation URL in frontend
This commit is contained in:
parent
bd10c3321e
commit
efe0ec7556
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user