mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 18:51:03 +01:00
Merge pull request #1560 from Dexus/patch-1
fix #1559 - remove not need colon Former-commit-id: 379172fe09cc4c82470983e88e2beb0f3ea5863f
This commit is contained in:
commit
4f1af5d135
|
@ -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