Skip to content

Commit

Permalink
fix(ignore): Improvement for afd8044
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Sep 8, 2024
1 parent 8c04766 commit 9c72a76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/extension/frontend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export default class Frontend extends Extension {

/* istanbul ignore next */
const options = {
setHeaders: (res: {setHeader(key: string, value: string): void}, path: string): void => {
setHeaders: (res: http.ServerResponse, path: string): void => {
if (path.endsWith('index.html')) {
res.setHeader('Cache-Control', 'no-store');
}
Expand Down

0 comments on commit 9c72a76

Please sign in to comment.