// 单应用实例启动 import { useConfig } from '@kevisual/use-config/env'; import { app } from './index.ts'; const config = useConfig(); const port = config.PORT || 4000; app.listen(port, () => { console.log(`server is running at http://localhost:${port}`); });