apply review suggestions

This commit is contained in:
Tilman Vatteroth 2020-11-15 20:12:22 +01:00
parent d10c13e842
commit cdc5a89cd7
No known key found for this signature in database
GPG key ID: DEBDB3F34641B019
9 changed files with 7 additions and 8 deletions

View file

@ -157,7 +157,7 @@ for (let i = keys.length; i--;) {
// Notify users about the prefix change and inform them they use legacy prefix for environment variables
if (Object.keys(process.env).toString().indexOf('HMD_') !== -1) {
logger.warn('Using legacy HMD prefix for environment variables. Please change your variables in future. For details see: https://github.com/hedgedoc/hedgedoc#environment-variables-will-overwrite-other-server-configs')
logger.warn('Using legacy HMD prefix for environment variables. Please change your variables in future. For details see: https://github.com/hedgedoc/hedgedoc/blob/master/docs/configuration.md')
}
// Generate session secret if it stays on default values