Skip to content

Commit

Permalink
fix(web): fixes devserver allowed hosts option schema validation error
Browse files Browse the repository at this point in the history
I removed `enum` to fix `--allowed-hosts` option schema validation error. snum should be removed so
developers have the option to pass whatever they want. it was a mistake from
#1969 PR.
  • Loading branch information
sudomanual authored and vsavkin committed Nov 3, 2019
1 parent d7184df commit e85f56f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/web/src/builders/dev-server/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@
},
"allowedHosts": {
"type": "string",
"description": "This option allows you to whitelist services that are allowed to access the dev server.",
"enum": ["host.com,host2.com", ".host.com"]
"description": "This option allows you to whitelist services that are allowed to access the dev server."
}
}
}

0 comments on commit e85f56f

Please sign in to comment.