mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-24 09:52:49 +08:00
feat(core): desktop multiple server support (#8979)
This commit is contained in:
@@ -8,7 +8,7 @@ import { createApp } from './app';
|
||||
import { URLHelper } from './fundamentals';
|
||||
|
||||
const app = await createApp();
|
||||
const listeningHost = AFFiNE.deploy ? '0.0.0.0' : 'localhost';
|
||||
const listeningHost = '0.0.0.0';
|
||||
await app.listen(AFFiNE.server.port, listeningHost);
|
||||
const url = app.get(URLHelper);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user