mirror of
https://github.com/kataras/iris.git
synced 2025-03-15 05:26:26 +01:00
fix #1559 - remove not need colon
fix #1559 Former-commit-id: 868c18f6cab6207a3fd433354490746e231c5b51
This commit is contained in:
parent
c8ed26ee51
commit
eca1cf315e
|
@ -17,7 +17,7 @@ func main() {
|
||||||
mvc.Configure(app.Party("/greet"), setup)
|
mvc.Configure(app.Party("/greet"), setup)
|
||||||
|
|
||||||
// http://localhost:8080/greet?name=kataras
|
// http://localhost:8080/greet?name=kataras
|
||||||
addr := ":" + environment.Getenv("PORT", ":8080")
|
addr := ":" + environment.Getenv("PORT", "8080")
|
||||||
app.Listen(addr, iris.WithLogLevel("debug"))
|
app.Listen(addr, iris.WithLogLevel("debug"))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user