Added feature flags system (#803)
* added feature flag system * Update packages/web/src/core/services/featureFlags.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * remove process.env --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { featureFlags } from "@core/services/featureFlags";
|
||||
|
||||
const isDev = typeof import.meta !== "undefined" && import.meta.env?.DEV;
|
||||
console.log(`Dev mode: ${isDev}`);
|
||||
|
||||
if (isDev) {
|
||||
featureFlags.setOverrides({
|
||||
persistNodeDB: true,
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user