mirror of
https://github.com/Queer-Lexikon/regenbogenkarte
synced 2024-11-25 13:40:20 +00:00
b15bfc0a73
To enable the goatcounter integration, the variable VITE_QUEER_LEXIKON_PRIVATE must be set to "true". This check is intentionally added for development environments so that all dev environments from possible forks do not modify the statistics by accident.
12 lines
430 B
TypeScript
12 lines
430 B
TypeScript
interface ImportMeta {
|
|
readonly env: ImportMetaEnv;
|
|
}
|
|
interface ImportMetaEnv {
|
|
// This variable is set in our GitHub Actions for adding additional features
|
|
// that should be only available on karte.queer-lexikon.net and not
|
|
// for development purposes.
|
|
//
|
|
// Although it's actually a boolean, all environment variables are strings, so we
|
|
// type it as string here as well.
|
|
readonly VITE_QUEER_LEXIKON_PRIVATE?: string;
|
|
}
|