Switched from PUT to POST because i'm stupid, also src folder
This commit is contained in:
parent
c5bc2aa7c1
commit
fe519bf80a
@ -53,10 +53,8 @@ async function shareQuiz() {
|
|||||||
var db = 'https://quiz.fasttube.de/db/'
|
var db = 'https://quiz.fasttube.de/db/'
|
||||||
|
|
||||||
var response = await fetch(db, {
|
var response = await fetch(db, {
|
||||||
method: 'PUT',
|
method: 'POST',
|
||||||
headers: {
|
headers: {'Content-Type': 'text/plain'},
|
||||||
'Content-Type': 'text/plain'
|
|
||||||
},
|
|
||||||
body: JSON.stringify(quizData)
|
body: JSON.stringify(quizData)
|
||||||
})
|
})
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user