You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
go\n http.ListenAndServe(":80", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {\n //TODO #18 there has to be a cleaner way\n http.Redirect(w, r, "https://"+r.Host+r.URL.RequestURI(), http.StatusMovedPermanently)\n }))\n\n\nThis can't possibly be the best way to do this and it kinda looks sketchy so this should definitely be looked at again
The text was updated successfully, but these errors were encountered:
go\n http.ListenAndServe(":80", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {\n //TODO #18 there has to be a cleaner way\n http.Redirect(w, r, "https://"+r.Host+r.URL.RequestURI(), http.StatusMovedPermanently)\n }))\n
\n\nThis can't possibly be the best way to do this and it kinda looks sketchy so this should definitely be looked at againThe text was updated successfully, but these errors were encountered: