Skip to content
Snippets Groups Projects
Commit 5d9ef9b0 authored by Jonah Husson's avatar Jonah Husson
Browse files

Fix headers_js

parent 75c698d8
No related branches found
No related tags found
2 merge requests!61Hotfix/fix is online,!39Merge release into master
...@@ -5,6 +5,6 @@ package connect ...@@ -5,6 +5,6 @@ package connect
import "net/http" import "net/http"
func (wc *webConn) addHeaders(header http.Header) http.Header { func (wc *webConn) addHeaders(header http.Header) http.Header {
req.Header.Add("js.fetch:mode", "no-cors") header.Add("js.fetch:mode", "no-cors")
return header return header
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment