revite/src/revision.ts

11 lines
397 B
TypeScript
Raw Normal View History

2021-08-05 09:47:00 -04: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 14:39:41 -04:00
export const GIT_REVISION: string = "__GIT_REVISION__";
export const GIT_BRANCH: string = "__GIT_BRANCH__";
2022-01-02 10:33:58 -05:00
export function isDebug() {
return import.meta.env.FORCE_DEBUG === "1" || import.meta.env.DEV;
}