Template
1
0
Fork 0

Update server address in main.go

This commit is contained in:
Atridad Lahiji 2024-01-26 00:22:23 -07:00
parent b303484fd9
commit c3afa0473f
No known key found for this signature in database

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