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 response = await fetch(db, {
|
||||
method: 'PUT',
|
||||
headers: {
|
||||
'Content-Type': 'text/plain'
|
||||
},
|
||||
method: 'POST',
|
||||
headers: {'Content-Type': 'text/plain'},
|
||||
body: JSON.stringify(quizData)
|
||||
})
|
||||
|
Loading…
Reference in New Issue