summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Wu2016-12-24 22:53:23 +0800
committerGitHub2016-12-24 22:53:23 +0800
commitb6aa0e93876fe961c1d589be3066a7bc3a9b338c (patch)
tree58d9b448a0c7edd5de2578a7c16c3337416f4a01
parente18d49d8a56d5fa25f60d1d8adadb037e6524617 (diff)
parent6db51528084d744eb1be71b03c63e0dfc82ed6d3 (diff)
Merge pull request #299 from bananaappletw/master
Add missing HMD_ALLOW_ORIGIN variable
Diffstat (limited to '')
-rw-r--r--app.json7
1 files changed, 6 insertions, 1 deletions
diff --git a/app.json b/app.json
index fcdc60a7..6025bba9 100644
--- a/app.json
+++ b/app.json
@@ -35,11 +35,16 @@
"description": "sub url path, like `www.example.com/<URL_PATH>`",
"required": false
},
- "HMD_ALLOW_ORIGIN": {
+ "HMD_PORT": {
"description": "web app port",
"required": false,
"value": "80"
},
+ "HMD_ALLOW_ORIGIN": {
+ "description": "domain name whitelist (use comma to separate)",
+ "required": false,
+ "value": "localhost"
+ },
"HMD_PROTOCOL_USESSL": {
"description": "set to use ssl protocol for resources path (only applied when domain is set)",
"required": false