Skip to content

Commit 197752c

Browse files
Ihor MasechkoIhor Masechko
authored andcommitted
fix(security-headers): allow non-default dev ports with localhost:*
1 parent 9c4a447 commit 197752c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • website/modules/@apostrophecms/security-headers

website/modules/@apostrophecms/security-headers/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const isProduction = process.env.NODE_ENV === 'production';
22

33
let localhostPart = '';
44
if (!isProduction) {
5-
localhostPart = 'localhost ';
5+
localhostPart = 'localhost:* ';
66
}
77
const connectSrcHosts = `'self' ${localhostPart}d3qlcaacmmrges.cloudfront.net px.ads.linkedin.com`;
88

0 commit comments

Comments
 (0)