mirror of
https://github.com/denoland/deno.git
synced 2024-11-04 08:54:20 -05:00
10 lines
280 B
JavaScript
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;
|