Hopefully fixed the caching problem with random
This commit is contained in:
@@ -12,7 +12,7 @@ import (
|
||||
)
|
||||
|
||||
func syncHandler(w http.ResponseWriter, r *http.Request) {
|
||||
(w).Header().Set("Access-Control-Allow-Origin", "*")
|
||||
setCorsAndNoCacheHeaders(&w, r)
|
||||
if r.URL.Path == "/sync" {
|
||||
w.Header().Add("Content-Type", "application/json")
|
||||
syncGames()
|
||||
|
||||
Reference in New Issue
Block a user