mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-29 22:35:50 -04:00
config/: Cleanups in defaultSSL.ts and dockerSecret.ts
Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
parent
ad0b0834e5
commit
37c2cd0731
2 changed files with 4 additions and 4 deletions
|
@ -1,10 +1,10 @@
|
|||
import fs from 'fs'
|
||||
|
||||
function getFile (path): string | undefined {
|
||||
function getFile (path): string {
|
||||
if (fs.existsSync(path)) {
|
||||
return path
|
||||
}
|
||||
return undefined
|
||||
return ''
|
||||
}
|
||||
|
||||
export const defaultSSL = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue