mirror of
https://github.com/denoland/deno.git
synced 2024-11-01 09:24:20 -04: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;
|