Switched from PUT to POST because i'm stupid, also src folder
This commit is contained in:
		@ -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)
 | 
			
		||||
	})
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user