Logo
Explore Help
Register Sign In
Dockery/Trilium
1
0
Fork 0
You've already forked Trilium
mirror of https://github.com/zadam/trilium.git synced 2025-11-16 02:05:53 +01:00
Code Issues Packages Projects Releases Activity
Files
0fed7842cfd1466479734acbf9cf03e4a697510d
Trilium/src/services/app_path.ts

4 lines
146 B
TypeScript
Raw Normal View History

server-esm: Change simple local import statements
2024-07-18 21:35:17 +03:00
import assetPath from "./asset_path.js";
refactor(server/utils): isDev move to utils and replace fn with boolean this value cannot change during runtime, => there is no need to have these checks as dynamic function, instead just export the boolean value directly
2025-01-22 19:08:38 +01:00
import { isDev } from "./utils.js";
server-ts: Port app* services
2024-02-17 19:09:36 +02:00
refactor(server/utils): isDev move to utils and replace fn with boolean this value cannot change during runtime, => there is no need to have these checks as dynamic function, instead just export the boolean value directly
2025-01-22 19:08:38 +01:00
export default isDev ? assetPath + "/app" : assetPath + "/app-dist";
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.1 Page: 59ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API