mirror of
https://github.com/denoland/deno.git
synced 2024-12-20 22:34:46 -05:00
11 lines
280 B
JavaScript
11 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;
|