Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix: add feature flag token to env

lawvs66aafeca8ad9
diff --git a/apps/ligo-virgo/webpack.config.js b/apps/ligo-virgo/webpack.config.js
index 377f32551a..4f14dba4c7 100644
--- a/apps/ligo-virgo/webpack.config.js
+++ b/apps/ligo-virgo/webpack.config.js
@@ -170,6 +170,9 @@ module.exports = function (webpackConfig) {
),
new webpack.DefinePlugin({
JWT_DEV: !isProd,
+ 'process.env.AFFINE_FEATURE_FLAG_TOKEN': JSON.stringify(
+ process.env['AFFINE_FEATURE_FLAG_TOKEN']
+ ),
global: {},
}),
isProd &&