view benchmark/bun-http-framework-benchmark/src/node/adonis/start/routes.js @ 263:ee04e4e69fed

Add functional JRPG frame and tools Add full-screen background_2 apertures, functional frame chrome, card-driven details, dual-window tools, live conversion workflows, and bounded cleanup for generated downloads. Co-authored-by: Copilot <[email protected]>
author MrJuneJune <mrjunejune@users.noreply.github.com>
date Thu, 06 Aug 2026 11:31:30 -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