Skip to content

Commit

Permalink
chore: wip
Browse files Browse the repository at this point in the history
chore: wip
  • Loading branch information
chrisbbreuer committed Aug 19, 2024
1 parent b7ae324 commit 83425d7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Binary file modified bun.lockb
Binary file not shown.
4 changes: 2 additions & 2 deletions storage/framework/core/router/src/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,8 @@ export class Router implements RouterInterface {
}

public async getRoutes(): Promise<Route[]> {
await import(routesPath('api.ts'))
await import(projectStoragePath('framework/orm/routes.ts'))
await import('../../../../../routes/api') // user routes
await import('../../../orm/routes') // auto-generated routes

return this.routes
}
Expand Down
1 change: 0 additions & 1 deletion storage/framework/core/router/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ export async function serverResponse(req: Request, body: string) {

const routesList: Route[] = await route.getRoutes()
log.info(`Routes List: ${JSON.stringify(routesList)}`)

log.info(`URL: ${JSON.stringify(url)}`)

if (req.method === 'OPTIONS') {
Expand Down

0 comments on commit 83425d7

Please sign in to comment.