Skip to content

Commit 6943810

Browse files
authored
Update main.go
1 parent db4f4fa commit 6943810

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func main() {
4141
AllowedHeaders: []string{"*"},
4242
AllowCredentials: true,
4343
}).Handler(http.DefaultServeMux)
44-
if err := http.ListenAndServe("0.0.0.0"+PORT, corsHandler); err != nil {
44+
if err := http.ListenAndServe(PORT, corsHandler); err != nil {
4545
logger.Error(fmt.Sprintf("Failed to start server: %v", err))
4646
return
4747
}

0 commit comments

Comments
 (0)