Skip to content

Commit 8d4b5d8

Browse files
Remove powered-by from static assets
1 parent 88a72ed commit 8d4b5d8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/ember-fastboot

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ const app = httpServer.app;
3838
app.use(express.static(distPath, {
3939
setHeaders(res, path, stat) {
4040
res.setHeader('Cache-Control', 'public, max-age=365000000, immutable');
41+
res.removeHeader('X-Powered-By');
4142
}
4243
}));
4344

0 commit comments

Comments
 (0)