You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,7 +116,7 @@ Environment variables (will overwrite other server configs)
116
116
| HMD_USECDN |`true` or `false`| set to use CDN resources or not (default is `true`) |
117
117
| HMD_ALLOW_ANONYMOUS |`true` or `false`| set to allow anonymous usage (default is `true`) |
118
118
| HMD_ALLOW_FREEURL |`true` or `false`| set to allow new note by accessing not exist note url |
119
-
| HMD_DEFAULT_PERMISSION |`freely`, `editable`, `limited`, `locked` or `private`|when creates new note, uses this permission (only applied when logged in) |
119
+
| HMD_DEFAULT_PERMISSION |`freely`, `editable`, `limited`, `locked` or `private`|set notes default permission (only applied on signed users) |
120
120
| HMD_DB_URL |`mysql://localhost:3306/database`| set the db url |
121
121
| HMD_FACEBOOK_CLIENTID | no example | Facebook API client id |
122
122
| HMD_FACEBOOK_CLIENTSECRET | no example | Facebook API client secret |
| usecdn |`true` or `false`| set to use CDN resources or not (default is `true`) |
166
166
| allowanonymous |`true` or `false`| set to allow anonymous usage (default is `true`) |
167
167
| allowfreeurl |`true` or `false`| set to allow new note by accessing not exist note url |
168
-
| defaultpermission |`freely`, `editable`, `limited`, `locked` or `private`|when creates new note, uses this permission (only applied when logged in) |
168
+
| defaultpermission |`freely`, `editable`, `limited`, `locked` or `private`|set notes default permission (only applied on signed users) |
169
169
| dburl |`mysql://localhost:3306/database`| set the db url, if set this variable then below db config won't be applied |
170
170
| db |`{ "dialect": "sqlite", "storage": "./db.hackmd.sqlite" }`| set the db configs, [see more here](http://sequelize.readthedocs.org/en/latest/api/sequelize/)|
171
171
| sslkeypath |`./cert/client.key`| ssl key path (only need when you set usessl) |
0 commit comments