Update server address in main.go
This commit is contained in:
parent
b303484fd9
commit
c3afa0473f
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -56,5 +56,5 @@ func main() {
|
|||
apiGroup.GET("/sse", api.SSE)
|
||||
apiGroup.POST("/sendsse", api.SSEDemoSend)
|
||||
|
||||
log.Fatal(http.ListenAndServe("127.0.0.1:3000", router))
|
||||
log.Fatal(http.ListenAndServe(":3000", router))
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue