mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-24 22:09:08 +08:00
Revert "fix(server): wrong usage of optl (#6714)"
This reverts commit 4868f6e611.
This commit is contained in:
@@ -6,9 +6,7 @@ import { omit } from 'lodash-es';
|
||||
|
||||
import { createApp } from './app';
|
||||
import { URLHelper } from './fundamentals';
|
||||
import { registerInstrumentations } from './fundamentals/metrics';
|
||||
|
||||
registerInstrumentations();
|
||||
const app = await createApp();
|
||||
const listeningHost = AFFiNE.deploy ? '0.0.0.0' : 'localhost';
|
||||
await app.listen(AFFiNE.server.port, listeningHost);
|
||||
|
||||
Reference in New Issue
Block a user