mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 09:25:27 +00:00
feat: add better debugging flags
This commit is contained in:
@@ -4,3 +4,7 @@
|
||||
export const REPO_URL: string = "https://github.com/revoltchat/revite/commit";
|
||||
export const GIT_REVISION: string = "__GIT_REVISION__";
|
||||
export const GIT_BRANCH: string = "__GIT_BRANCH__";
|
||||
|
||||
export function isDebug() {
|
||||
return import.meta.env.FORCE_DEBUG === "1" || import.meta.env.DEV;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user