mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-16 08:04:45 -04:00
Fix variable names for docker secrets
It seems like since we switched to camelcase we missed to update some variable names in the config section. This patch fixes those. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
This commit is contained in:
parent
c4053ea7ce
commit
c07ae7eda1
1 changed files with 5 additions and 5 deletions
|
@ -14,11 +14,11 @@ function getSecret (secret) {
|
||||||
if (fs.existsSync(basePath)) {
|
if (fs.existsSync(basePath)) {
|
||||||
module.exports = {
|
module.exports = {
|
||||||
dbURL: getSecret('dbURL'),
|
dbURL: getSecret('dbURL'),
|
||||||
sessionsecret: getSecret('sessionsecret'),
|
sessionSecret: getSecret('sessionsecret'),
|
||||||
sslkeypath: getSecret('sslkeypath'),
|
sslKeyPath: getSecret('sslkeypath'),
|
||||||
sslcertpath: getSecret('sslcertpath'),
|
sslCertPath: getSecret('sslcertpath'),
|
||||||
sslcapath: getSecret('sslcapath'),
|
sslCAPath: getSecret('sslcapath'),
|
||||||
dhparampath: getSecret('dhparampath'),
|
dhParamPath: getSecret('dhparampath'),
|
||||||
s3: {
|
s3: {
|
||||||
accessKeyId: getSecret('s3_acccessKeyId'),
|
accessKeyId: getSecret('s3_acccessKeyId'),
|
||||||
secretAccessKey: getSecret('s3_secretAccessKey')
|
secretAccessKey: getSecret('s3_secretAccessKey')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue