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.

chore(cli): enable accessing dev server by host name (#8912)

doodlewind08ff619d47da
diff --git a/tools/cli/src/webpack/config.ts b/tools/cli/src/webpack/config.ts
index 012d6b7caf..72c692dc25 100644
--- a/tools/cli/src/webpack/config.ts
+++ b/tools/cli/src/webpack/config.ts
@@ -347,6 +347,8 @@ export const createConfiguration: (
optimization: OptimizeOptionOptions(buildFlags),
devServer: {
+ host: '0.0.0.0',
+ allowedHosts: 'all',
hot: buildFlags.static ? false : 'only',
liveReload: !buildFlags.static,
client: {