Skip to content

Commit

Permalink
:)
Browse files Browse the repository at this point in the history
  • Loading branch information
nazjobs committed Sep 15, 2024
1 parent de374eb commit 390d780
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ so i used google spreadsheet and put this script for the web app

// This will set CORS headers... maybe, idk.

var output = ContentService.createTextOutput(JSON.stringify({ 'result': 'success' })); output.setMimeType(ContentService.MimeType.JSON); output.setHeader('Access-Control-Allow-Origin', '*'); output.setHeader('Access-Control-Allow-Methods', 'POST'); output.setHeader('Access-Control-Allow-Headers', 'Content-Type');`
var output = ContentService.createTextOutput(JSON.stringify({ 'result': 'success' })); output.setMimeType(ContentService.MimeType.JSON); output.setHeader('Access-Control-Allow-Origin', '*'); output.setHeader('Access-Control-Allow-Methods', 'POST'); output.setHeader('Access-Control-Allow-Headers', 'Content-Type'); `

um u can replace the google spreadsheet api url on the fetch function in ✨Decollector.js✨ file...

Expand Down

0 comments on commit 390d780

Please sign in to comment.