mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
www: add features for privacy and browsing
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user