1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-01 09:24:20 -04:00
denoland-deno/cli/bench/testdata/npm/hono/dist/middleware/powered-by/index.js

11 lines
280 B
JavaScript
Raw Normal View History

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.poweredBy = void 0;
const poweredBy = () => {
return async (c, next) => {
await next();
c.res.headers.append('X-Powered-By', 'Hono');
};
};
exports.poweredBy = poweredBy;