Remove localhost when listening in debug mode

This commit is contained in:
Marco 2023-09-24 01:15:52 +02:00
parent f504b1ba60
commit e45ca20bbe
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ func main() {
if debugMode {
log.Println("Starting service WITHOUT TLS")
log.Fatal(router.Run("localhost:8080"))
log.Fatal(router.Run(":8080"))
} else {
gin.SetMode(gin.ReleaseMode)
log.Println("Starting in release mode")