We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db4f4fa commit 6943810Copy full SHA for 6943810
main.go
@@ -41,7 +41,7 @@ func main() {
41
AllowedHeaders: []string{"*"},
42
AllowCredentials: true,
43
}).Handler(http.DefaultServeMux)
44
- if err := http.ListenAndServe("0.0.0.0"+PORT, corsHandler); err != nil {
+ if err := http.ListenAndServe(PORT, corsHandler); err != nil {
45
logger.Error(fmt.Sprintf("Failed to start server: %v", err))
46
return
47
}
0 commit comments