diff options
author | Cheng-Han, Wu | 2016-02-16 20:08:44 -0800 |
---|---|---|
committer | Cheng-Han, Wu | 2016-02-16 20:08:44 -0800 |
commit | b2b1be3dda406312add39997ad8bd9494f20b7f8 (patch) | |
tree | 997403359ffc0f585fa52752c399ce87287222c3 /README.md | |
parent | 3f2f063e9b6c6d36169f6acefc27df87d0bd176b (diff) |
Support set url path and use relative url, move raphael to bower and fixed minor issue in history
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -61,6 +61,7 @@ There are some config you need to change in below files ``` ./config.js --- for server settings ./public/js/index.js --- for client settings +./public/js/common.js --- for client settings ``` Client-side index.js settings @@ -70,6 +71,13 @@ Client-side index.js settings | debug | `true` or `false` | set debug mode, show more logs | | version | `0.3.2` | current version, must match same var in server side `config.js` | +Client-side common.js settings +--- +| variables | example values | description | +| --------- | ------ | ----------- | +| domain | `localhost` | domain name | +| urlpath | `hackmd` | sub url path, like: `www.example.com/<urlpath>` | + Environment variables --- | variables | example values | description | @@ -80,6 +88,7 @@ Environment variables | PORT | `80` | web port | | SSLPORT | `443` | ssl web port | | DOMAIN | `localhost` | domain name | +| URL_PATH | `hackmd` | sub url path, like `www.example.com/<URL_PATH>` | Server-side config.js settings --- |