mirror of
https://github.com/zadam/trilium.git
synced 2025-10-07 22:22:44 +08:00
chore(monorepo/server): fix db asset path
This commit is contained in:
parent
6543d6c362
commit
2aad162f8e
22 changed files with 1 additions and 1 deletions
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
|
@ -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, "../..");
|
||||
|
|
Loading…
Add table
Reference in a new issue