Skip to content

Commit

Permalink
fix: remove static_routers from api - static_routers are not present …
Browse files Browse the repository at this point in the history
…in api anyway and it breaks generated project
  • Loading branch information
mi4uu committed Nov 17, 2023
1 parent 49fea44 commit 03d07fc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/template/src/routers/mod.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 03d07fc

Please sign in to comment.