mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-05-20 14:02:34 +02:00
Add missing null check preventing setup of the database
This commit is contained in:
parent
6cc26907d3
commit
5d2d261278
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ class Database {
|
||||||
}
|
}
|
||||||
dbConfig.caFilePath = dataCaFilePath;
|
dbConfig.caFilePath = dataCaFilePath;
|
||||||
}
|
}
|
||||||
if (dbConfig.caFilePath.startsWith(temporaryDirectoryPath)) {
|
if (dbConfig.caFilePath && dbConfig.caFilePath.startsWith(temporaryDirectoryPath)) {
|
||||||
dbConfig.caFilePath = undefined;
|
dbConfig.caFilePath = undefined;
|
||||||
}
|
}
|
||||||
dbConfig.ssl = undefined;
|
dbConfig.ssl = undefined;
|
||||||
|
|
Loading…
Add table
Reference in a new issue