Skip to content

Commit

Permalink
0.1.31 oops
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamint08 committed May 26, 2024
1 parent 3bc8abe commit 71485db
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,13 +233,6 @@ async function handleRequest(req: Request): Promise<Response> {

async function startServer(port: number = 3000, routes: string = "routes", logger: boolean = true) {
await loadRoutes(routes);
// log routes
console.log(chalk.bold.white(`Routes:`));
for (const method in methods) {
for (const route in methods[method]) {
console.log(chalk.bold.white(` ${method.toUpperCase()} ${chalk.bold.green(route)}`));
}
}
console.log(chalk.bold.white(`Using ProBun ${chalk.bold.green(`v${version}`)}`));
console.log(chalk.bold.white(`Starting server on port ${chalk.bold.cyan(`${port}...`)}`));
Bun.serve({
Expand Down

0 comments on commit 71485db

Please sign in to comment.