Skip to content

Commit 988f9c9

Browse files
committed
fixes #883
1 parent ca93284 commit 988f9c9

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

lib/optionsSchema.json

+4
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,10 @@
138138
"description": "Enable inline mode to include client scripts in bundle (CLI-only).",
139139
"type": "boolean"
140140
},
141+
"disableHostCheck": {
142+
"description": "Disable the Host header check (Security).",
143+
"type": "boolean"
144+
},
141145
"public": {
142146
"description": "The public hostname/ip address of the server.",
143147
"type": "string"

test/Validation.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ describe("Validation", function() {
4242
" - configuration has an unknown property 'asdf'. These properties are valid:",
4343
" object { hot?, hotOnly?, lazy?, host?, filename?, publicPath?, port?, socket?, " +
4444
"watchOptions?, headers?, clientLogLevel?, overlay?, key?, cert?, ca?, pfx?, pfxPassphrase?, " +
45-
"inline?, public?, https?, contentBase?, watchContentBase?, open?, features?, " +
45+
"inline?, disableHostCheck?, public?, https?, contentBase?, watchContentBase?, open?, features?, " +
4646
"compress?, proxy?, historyApiFallback?, staticOptions?, setup?, stats?, reporter?, " +
4747
"noInfo?, quiet?, serverSideRender?, index?, log?, warn? }"
4848
]

0 commit comments

Comments
 (0)