diff --git a/src/template/src/routers/mod.hbs b/src/template/src/routers/mod.hbs index 137ef3b..e4c218d 100644 --- a/src/template/src/routers/mod.hbs +++ b/src/template/src/routers/mod.hbs @@ -81,8 +81,7 @@ pub fn router() -> Router { .delete(delete_user), ), ]; - let static_routers = static_routers::create_static_routers(); - no_auth_routers.extend(static_routers); + let router = Router::new() .hoop(Logger::new()) .hoop(CatchPanic::new())