Fix allow-host preset not working correctly
Problem: The preset for allow-host is coming from "host". Solution: Make the preset for allow-host come from "allow-host".
This commit is contained in:
parent
1b6c559115
commit
8ccfb1a1ec
@ -34,7 +34,7 @@ module.exports = (presets, defaultConfigFile) =>
|
||||
.options("allow-host", {
|
||||
describe:
|
||||
"Extra hostname to be whitelisted (useful when running behind a proxy)",
|
||||
default: _.get(presets, "host", null),
|
||||
default: _.get(presets, "allow-host", null),
|
||||
type: "string",
|
||||
})
|
||||
.options("port", {
|
||||
|
Loading…
Reference in New Issue
Block a user