mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 08:15:52 +01:00
server-ts: Port services/setup
This commit is contained in:
@@ -51,7 +51,7 @@ function getOptionBool(name: string): boolean {
|
||||
return val === 'true';
|
||||
}
|
||||
|
||||
function setOption(name: string, value: string | boolean) {
|
||||
function setOption(name: string, value: string | number | boolean) {
|
||||
if (value === true || value === false) {
|
||||
value = value.toString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user