Can't activate CORS for examples /chat/
remotejob opened this issue · 2 comments
remotejob commented
func (cs *chatServer) ServeHTTP(w http.ResponseWriter, r *http.Request) {
w.Header().Add("Access-Control-Allow-Origin", "*"
Don't work for me, any help appreciated.
nhooyr commented
Can you clarify what doesn't work?
nhooyr commented
Going to close, feel free to reopen if there's additional information.