From 6db51528084d744eb1be71b03c63e0dfc82ed6d3 Mon Sep 17 00:00:00 2001 From: bananaappletw Date: Sat, 24 Dec 2016 22:17:04 +0800 Subject: [PATCH] Add missing HMD_ALLOW_ORIGIN variable --- app.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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/`", "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