Mercurial
view benchmark/bun-http-framework-benchmark/src/node/adonis/start/routes.js @ 261:b401627fc49e
Add JRPG mock flows and interactive previews
Add scripted mock SSE commands, custom event forwarding, animated chat turns, full-height message navigation, and a cyberpunk resume dossier.
Co-authored-by: Copilot <[email protected]>
| author | MrJuneJune <mrjunejune@users.noreply.github.com> |
|---|---|
| date | Wed, 05 Aug 2026 20:38:32 -0700 |
| parents | a8976a008a9d |
| children |
line wrap: on
line source
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const Route_1 = __importDefault(global[Symbol.for('ioc.use')]("Adonis/Core/Route")); Route_1.default.get('/', () => 'hi'); Route_1.default.get('/id/:id', ({ params, request, response }) => { response.header('x-powered-by', 'benchmark'); return `${params.id} ${request.qs().name}`; }); Route_1.default.post('/json', ({ request }) => request.body()); //# sourceMappingURL=routes.js.map