www: add features for privacy and browsing

This commit is contained in:
2023-10-13 09:58:16 +02:00
committed by Mathieu Virbel
parent a3e9683f1e
commit 168e4d6fa4
5 changed files with 208 additions and 7 deletions

View File

@@ -1,3 +1,11 @@
export function isDevelopment() {
return process.env.NEXT_PUBLIC_ENV === "development";
}
export function featPrivacy() {
return process.env.NEXT_PUBLIC_FEAT_PRIVACY === "1";
}
export function featBrowse() {
return process.env.NEXT_PUBLIC_FEAT_BROWSE === "1";
}