mirror of
https://github.com/denoland/deno.git
synced 2024-12-15 03:48:02 -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;
|