mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 07:46:30 +01:00
chore(dx/server): client paths not correct
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import assetPath from "./asset_path.js";
|
||||
import { isDev } from "./utils.js";
|
||||
|
||||
export default assetPath + "/src";
|
||||
export default isDev ? assetPath : assetPath + "/src";
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import packageJson from "../../package.json" with { type: "json" };
|
||||
import { isDev } from "./utils";
|
||||
|
||||
export const assetUrlFragment = `assets/v${packageJson.version}`;
|
||||
const assetPath = assetUrlFragment;
|
||||
const assetPath = isDev ? assetUrlFragment + "/src" : assetUrlFragment;
|
||||
|
||||
export default assetPath;
|
||||
|
||||
Reference in New Issue
Block a user