Logo
Explore Help
Register Sign In
Tools/Notes
1
0
Fork 0
You've already forked Notes
mirror of https://github.com/TriliumNext/Notes.git synced 2025-07-29 11:02:28 +08:00
Code Issues Packages Projects Releases Wiki Activity
Notes/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: 23.8.2 Page: 158ms Template: 2ms
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