diff --git a/ui/src/domain/app.ts b/ui/src/domain/app.ts index cff56a24..acc5a47e 100644 --- a/ui/src/domain/app.ts +++ b/ui/src/domain/app.ts @@ -1,10 +1,11 @@ import i18next from "i18next"; -// fallback policy: .env > git tag > "v0.0.0-dev" -export const APP_VERSION: string = "v" + (__APP_VERSION__ || "0.0.0-dev").replace(/^v/, ""); +export const APP_VERSION = "v" + (__APP_VERSION__ || "0.0.0-dev").replace(/^v/, ""); export const APP_REPO_URL = "https://github.com/certimate-go/certimate"; + export const APP_DOWNLOAD_URL = APP_REPO_URL + "/releases"; + export let APP_DOCUMENT_URL = "https://docs.certimate.me"; i18next.on("languageChanged", (language) => {