Skip to content

Commit

Permalink
fix: reload not resolving as a next route
Browse files Browse the repository at this point in the history
  • Loading branch information
diced committed Jan 11, 2025
1 parent 5f026bd commit 329e0c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ async function main() {
server.get('/', (_, res) => res.redirect('/dashboard'));
server.next('/*', ALL_METHODS);
server.next('/dashboard', ALL_METHODS);
server.next('/reload', ALL_METHODS);
}

// TODO: no longer need this when all the api routes are handled by fastify :)
Expand Down

0 comments on commit 329e0c9

Please sign in to comment.