mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
ranklist using files.ts, minor loggin improvements
This commit is contained in:
parent
0f66411b96
commit
c009a6f7d4
3 changed files with 8 additions and 8 deletions
|
@ -44,7 +44,9 @@ export const validateAndSetupFiles = (): boolean => {
|
|||
}
|
||||
|
||||
if (file.warningIfMissing && !fileExists) {
|
||||
const warningMsg = [`File "${file.path}" does not exist! (${key})`]
|
||||
const warningMsg = [
|
||||
`Optional file "${file.path}" does not exist! (${key})`,
|
||||
]
|
||||
if (file.description) {
|
||||
warningMsg.push(`Should be: ${file.description}`)
|
||||
}
|
||||
|
@ -81,7 +83,7 @@ const filesFiles = {
|
|||
httpsFiles: {
|
||||
path: 'data/httpsfiles.json',
|
||||
description:
|
||||
'file paths for https functionality (privkey, chain files). Optional if https server is not used',
|
||||
'file paths for https functionality (privkey, chain files)',
|
||||
schema: HttpsFilesSchema,
|
||||
warningIfMissing: true,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue