mirror of
https://codeberg.org/vlw/gcf-sheets-api.git
synced 2025-09-14 04:13:41 +02:00
Compare commits
No commits in common. "master" and "1.0.1" have entirely different histories.
1 changed files with 0 additions and 3 deletions
|
@ -64,9 +64,6 @@ func getSheetData(sheet *RawSheetData) string {
|
|||
|
||||
// Create JSON response from sheet data
|
||||
func httpResponse(w http.ResponseWriter, r *http.Request) {
|
||||
w.Header().Set("Access-Control-Allow-Origin", "*");
|
||||
w.Header().Set("Content-Type", "application/json");
|
||||
|
||||
fmt.Fprint(w, getSheetData(sheetDataToStruct()))
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue