Skip to content

Commit 6ba32f4

Browse files
Update tests/dummy/config/environment.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent c2db1fe commit 6ba32f4

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

tests/dummy/config/environment.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,14 @@ module.exports = function (environment) {
5252
}
5353

5454
ENV.fastboot = {
55-
hostWhitelist: [/.*/],
55+
// Restrict FastBoot host allowlist to known hosts instead of allowing all.
56+
// Add any additional production hostnames here, e.g. 'docs.example.com'.
57+
hostWhitelist: [
58+
'localhost',
59+
/^localhost:\d+$/,
60+
'127.0.0.1',
61+
'::1',
62+
],
5663
};
5764

5865
return ENV;

0 commit comments

Comments
 (0)