Aktueller Stand
This commit is contained in:
10
backend/node_modules/hono/dist/middleware/powered-by/index.js
generated
vendored
Normal file
10
backend/node_modules/hono/dist/middleware/powered-by/index.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
// src/middleware/powered-by/index.ts
|
||||
var poweredBy = (options) => {
|
||||
return async function poweredBy2(c, next) {
|
||||
await next();
|
||||
c.res.headers.set("X-Powered-By", options?.serverName ?? "Hono");
|
||||
};
|
||||
};
|
||||
export {
|
||||
poweredBy
|
||||
};
|
||||
Reference in New Issue
Block a user