mirror of
https://github.com/zadam/trilium.git
synced 2025-10-28 18:18:55 +01:00
8 lines
285 B
TypeScript
8 lines
285 B
TypeScript
import packageJson from "../../package.json" with { type: "json" };
|
|
import { isDev } from "./utils";
|
|
|
|
export const assetUrlFragment = `assets/v${packageJson.version}`;
|
|
const assetPath = isDev ? `http://localhost:4200/${assetUrlFragment}` : assetUrlFragment;
|
|
|
|
export default assetPath;
|