@@ -97,19 +97,9 @@ Configuration files
9797There are some configs you need to change in the files below
9898
9999```
100- ./config.json --- for server settings
101- ./public/js/config.js --- for client settings
100+ ./config.json ----application settings
102101```
103102
104- Client settings ` config.js `
105- ---
106-
107- | variables | example values | description |
108- | --------- | ------ | ----------- |
109- | debug | ` true ` or ` false ` | set debug mode, show more logs |
110- | domain | ` localhost ` | domain name |
111- | urlpath | ` hackmd ` | sub url path, like: ` www.example.com/<urlpath> ` |
112-
113103Environment variables (will overwrite other server configs)
114104---
115105
@@ -158,7 +148,7 @@ Environment variables (will overwrite other server configs)
158148| HMD_S3_REGION | ` ap-northeast-1 ` | AWS S3 region |
159149| HMD_S3_BUCKET | no example | AWS S3 bucket name |
160150
161- Server settings ` config.json `
151+ Application settings ` config.json `
162152---
163153
164154| variables | example values | description |
@@ -207,7 +197,7 @@ Third-party integration api key settings
207197| ------- | --------- | ----------- |
208198| facebook, twitter, github, gitlab, dropbox, google, ldap | environment variables or ` config.json ` | for signin |
209199| imgur | environment variables or ` config.json ` | for image upload |
210- | google drive, dropbox | ` public/js/ config.js ` | for export and import |
200+ | google drive( ` google/apiKey ` , ` google/clientID ` ), dropbox( ` dropbox/appKey ` ) | ` config.json ` | for export and import |
211201
212202Third-party integration oauth callback urls
213203---
0 commit comments