Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Commit

Permalink
updated to staticman v3 endpoint
Browse files Browse the repository at this point in the history
per @eduardoboucas' instruction in Staticman issue [243](eduardoboucas/staticman#243 (comment))
  • Loading branch information
simonarnell authored Jan 15, 2019
1 parent 20837a7 commit 144b090
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/js/survey.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ function sendDataToServer(survey) {
}
})
var data = new URLSearchParams(formdata);
fetch("https://dev.staticman.net/v2/entry/simonarnell/GDPRDPIAT/staticman/", {
fetch("https://dev.staticman.net/v3/entry/simonarnell/GDPRDPIAT/staticman/", {
method: "POST",
body: data
})
}
}

0 comments on commit 144b090

Please sign in to comment.