chore: hide discovery button if not pointing to Revolt

This commit is contained in:
Paul Makles
2022-08-15 19:32:02 +02:00
parent 353507e17a
commit 787d5840d2
5 changed files with 29 additions and 21 deletions

View File

@@ -1 +1,6 @@
export const APP_VERSION = "__APP_VERSION__";
export const IS_REVOLT =
import.meta.env.VITE_API_URL === "https://api.revolt.chat" ||
// future proofing
import.meta.env.VITE_API_URL === "https://app.revolt.chat/api" ||
import.meta.env.VITE_API_URL === "https://revolt.chat/api";