Update server address in main.go

This commit is contained in:
2024-01-26 00:22:23 -07:00
parent b303484fd9
commit c3afa0473f

View File

@ -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))
}