view benchmark/bun-http-framework-benchmark/src/node/adonis/start/routes.js @ 260:1f9877b637e9

Add Copilot-powered cyberpunk JRPG chat Integrate the production JRPG chat with Seobeo streaming, Deita persistence, and a Bazel-managed Copilot SDK and LiteLLM inference stack. Co-authored-by: Copilot <[email protected]>
author MrJuneJune <mrjunejune@users.noreply.github.com>
date Wed, 05 Aug 2026 09:19:41 -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