mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-06-03 00:19:57 -04:00
Update to support DOMAIN and URL_PATH environment variables
This commit is contained in:
parent
13d61fe42d
commit
ff4698caf5
2 changed files with 4 additions and 2 deletions
|
@ -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 |
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue