mirror of https://github.com/lus/pasty.git
Fix trailing slash
This commit is contained in:
parent
70c4392390
commit
7af1f9431b
|
@ -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