mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-04 11:27:13 +00:00
7 lines
148 B
TypeScript
7 lines
148 B
TypeScript
|
import type { ServerResponse } from 'http'
|
||
|
|
||
|
export default (_, res: ServerResponse, next) => {
|
||
|
res.setHeader('injected-header', 'foo')
|
||
|
next()
|
||
|
}
|