Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cors headers for tequilapi service #95

merged 1 commit into from Jan 11, 2018


None yet
2 participants
Copy link

commented Jan 11, 2018

No description provided.


func (wrapper corsHandler) ServeHTTP(resp http.ResponseWriter, req *http.Request) {
resp.Header().Set("Access-Control-Allow-Origin", "*")

This comment has been minimized.

Copy link

shroomist Jan 11, 2018


so now basically anybody could drink my tequila?
currently electron dev-env runs on http://localhost:9080

This comment has been minimized.

Copy link

tadovas Jan 11, 2018

Author Member

not anybod. Any browser :D

@tadovas tadovas merged commit 82d0973 into master Jan 11, 2018

@tadovas tadovas deleted the improvement/add-cors-headers-for-tequilapi branch Jan 11, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.