mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 10:27:06 +00:00
minor
Former-commit-id: 26b0b59ba54caac38d726d7fec562a5d6a0a76e3
This commit is contained in:
@@ -23,6 +23,10 @@ func newApp() *iris.Application {
|
||||
|
||||
// Stops the execution and fires an error before server boot.
|
||||
app.SetRegisterRule(iris.RouteError)
|
||||
|
||||
// If ctx.StopExecution or StopWithXXX then the next route will be executed
|
||||
// (see mvc/authenticated-controller example too).
|
||||
app.SetRegisterRule(iris.RouteOverlap)
|
||||
*/
|
||||
|
||||
app.Get("/", getHandler)
|
||||
|
||||
Reference in New Issue
Block a user