mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-29 11:54:27 -05:00
Docker Secrets: Correct Source Path
Signed-off-by: Jonas Thelemann <e-mail@jonas-thelemann.de>
This commit is contained in:
parent
6755d1b989
commit
326b38dff9
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
const fs = require('fs')
|
const fs = require('fs')
|
||||||
const path = require('path')
|
const path = require('path')
|
||||||
|
|
||||||
const basePath = path.resolve('/var/run/secrets/')
|
const basePath = path.resolve('/run/secrets/')
|
||||||
|
|
||||||
function getSecret (secret) {
|
function getSecret (secret) {
|
||||||
const filePath = path.join(basePath, secret)
|
const filePath = path.join(basePath, secret)
|
||||||
|
|
Loading…
Reference in a new issue