We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c04766 commit 9c72a76Copy full SHA for 9c72a76
lib/extension/frontend.ts
@@ -80,7 +80,7 @@ export default class Frontend extends Extension {
80
81
/* istanbul ignore next */
82
const options = {
83
- setHeaders: (res: {setHeader(key: string, value: string): void}, path: string): void => {
+ setHeaders: (res: http.ServerResponse, path: string): void => {
84
if (path.endsWith('index.html')) {
85
res.setHeader('Cache-Control', 'no-store');
86
}
0 commit comments