Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
chore(server): remove font size globs
Elian Doranee6cbc710c74
diff --git a/apps/server/src/routes/index.ts b/apps/server/src/routes/index.tsindex da0174999f..7bc59411a0 100644--- a/apps/server/src/routes/index.ts+++ b/apps/server/src/routes/index.ts@@ -44,10 +44,6 @@ export function bootstrap(req: Request, res: Response) {isElectron,hasNativeTitleBar: isElectron && nativeTitleBarVisible,hasBackgroundEffects: isElectron && isWindows11 && !nativeTitleBarVisible && options.backgroundEffects === "true",- // TODO: These font size don't actually seem to be used.- mainFontSize: parseInt(options.mainFontSize, 10),- treeFontSize: parseInt(options.treeFontSize, 10),- detailFontSize: parseInt(options.detailFontSize, 10),maxEntityChangeIdAtLoad: sql.getValue("SELECT COALESCE(MAX(id), 0) FROM entity_changes"),maxEntityChangeSyncIdAtLoad: sql.getValue("SELECT COALESCE(MAX(id), 0) FROM entity_changes WHERE isSynced = 1"),instanceName: config.General ? config.General.instanceName : null,