mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-06-04 16:54:11 -04:00
Support set url path and use relative url, move raphael to bower and fixed minor issue in history
This commit is contained in:
parent
3f2f063e9b
commit
b2b1be3dda
22 changed files with 222 additions and 198 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
|
||||
---
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue