summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorCheng-Han, Wu2016-04-22 03:33:09 +0800
committerCheng-Han, Wu2016-04-22 03:33:09 +0800
commitff4698caf5d8d1941255dff6df2ecc3dfd9edde3 (patch)
tree4832a0358a3274c6e3e23b449d75a2be152d1add /README.md
parent13d61fe42db31878e76be3b617402e6527246990 (diff)
Update to support DOMAIN and URL_PATH environment variables
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index 7e1cc446..9f5fbb1c 100644
--- a/README.md
+++ b/README.md
@@ -78,6 +78,8 @@ Environment variables (will overwrite other server configs)
| variables | example values | description |
| --------- | ------ | ----------- |
| NODE_ENV | `production` or `development` | set current environment (will apply correspond settings in the `config.json`) |
+| DOMAIN | `hackmd.io` | domain name |
+| URL_PATH | `hackmd` | sub url path, like `www.example.com/<URL_PATH>` |
| PORT | `80` | web app port |
| DEBUG | `true` or `false` | set debug mode, show more logs |