revite/src/revision.ts

11 lines
397 B
TypeScript
Raw Normal View History

2021-08-05 14:47:00 +01:00
/* eslint-disable */
// Strings needs to be explictly stated here as they can cause type issues elsewhere.
export const REPO_URL: string = "https://github.com/revoltchat/revite/commit";
2021-07-24 19:39:41 +01:00
export const GIT_REVISION: string = "__GIT_REVISION__";
export const GIT_BRANCH: string = "__GIT_BRANCH__";
2022-01-02 15:33:58 +00:00
export function isDebug() {
return import.meta.env.FORCE_DEBUG === "1" || import.meta.env.DEV;
}