diff --git a/routing/routes.go b/routing/routes.go index d65a92096d7fac32948d42caa743ce7ace63fbc2..70ca5f902ba5eeccfa14068931f90c0fcbde0e11 100644 --- a/routing/routes.go +++ b/routing/routes.go @@ -9,4 +9,8 @@ func SetRoutes( router *f.App ){ router.Get( "/", func( c *f.Ctx ) error { return c.SendString( "Hello World!" ) }) + + router.Use( func( c *f.Ctx ) error { + return c.SendStatus( 418 ) + }) }