Skip to content

Commit 4be2308

Browse files
committed
Force admin config
1 parent 7ef3896 commit 4be2308

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

src/utils/configs.js

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,13 @@ if (window.APP_CONFIG) {
6767
}
6868
} else {
6969
configs.APP_CONFIG = {
70+
features: {}
71+
};
72+
}
73+
74+
configs.APP_CONFIG = {
75+
...configs.APP_CONFIG,
76+
...{
7077
features: {
7178
bitecs_loader: true,
7279
addons_config: {
@@ -75,8 +82,8 @@ if (window.APP_CONFIG) {
7582
"hubs-duck-addon": { enabled: true }
7683
}
7784
}
78-
};
79-
}
85+
}
86+
};
8087

8188
const isLocalDevelopment = process.env.NODE_ENV === "development";
8289

0 commit comments

Comments
 (0)