chore(monorepo/server): fix db asset path

This commit is contained in:
Elian Doran 2025-04-22 19:56:00 +03:00
parent 6543d6c362
commit 2aad162f8e
No known key found for this signature in database
22 changed files with 1 additions and 1 deletions

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -3,7 +3,7 @@ import path from "path";
import fs from "fs";
import { fileURLToPath } from "url";
export const RESOURCE_DIR = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "../..");
export const RESOURCE_DIR = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "../assets");
// where the "trilium" executable is
const ELECTRON_APP_ROOT_DIR = path.resolve(RESOURCE_DIR, "../..");