1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-11 10:07:54 -05:00
denoland-deno/cli/bench/testdata/npm/hono/dist/middleware/powered-by/index.js
2022-08-19 15:54:54 +05:30

10 lines
280 B
JavaScript

"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;