Skip to content

Commit 24ae3fe

Browse files
authored
Merge pull request #936 from nsemets/fix/angular-ssr-security
Added allowed hosts
2 parents ef8012a + aee66d0 commit 24ae3fe

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

angular.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@
6767
"outputMode": "server",
6868
"ssr": {
6969
"entry": "src/server.ts"
70+
},
71+
"security": {
72+
"allowedHosts": ["localhost", "127.0.0.1"]
7073
}
7174
},
7275
"configurations": {

0 commit comments

Comments
 (0)