-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RouteBuilder not found #3
Comments
Hello @waghanza Thanks, sorry for the issue, it is renamed to "Router", I will create a pull request for that. Have a great day! |
No need @ragokan, I'll update code base myself ;-) Results will be up tomorrow |
Thanks a lot, I still wanted to provide the updated usage. import { Router, BunicornApp } from "@bunicorn/server";
const app = new BunicornApp();
const router = new Router();
app.addRoutes([
router.get("/", (ctx) => ctx.ok()),
router.get("/user/:id", (ctx) => ctx.raw(ctx.params.id)),
router.post("/user", (ctx) => ctx.ok()),
]);
app.serve({
port: 3000,
reusePort: true
}) |
Will update 🎉 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @ragokan,
In the-benchmarker/web-frameworks#7753, you changed the implementation for
bunicorn
, but running the results for monday, I haveRegards,
The text was updated successfully, but these errors were encountered: