mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-04 14:41:42 +08:00
15 lines
434 B
TypeScript
15 lines
434 B
TypeScript
/*
|
|
* Make sure not to import any modules that depend on localized messages via i18next here, as the initializations
|
|
* are loaded later and will result in an empty string.
|
|
*/
|
|
|
|
import { initializeTranslations } from "./services/i18n.js";
|
|
|
|
async function startApplication() {
|
|
await initializeTranslations();
|
|
const startTriliumServer = (await import("./www.js")).default;
|
|
await startTriliumServer();
|
|
}
|
|
|
|
startApplication();
|