fix: 修改部署部分代码
This commit is contained in:
@@ -8,7 +8,10 @@ import { loadApps } from './load-apps.ts';
|
||||
// export { aiApp };
|
||||
export { app };
|
||||
loadApps(app);
|
||||
|
||||
// if (import.meta.url === `file://${process.argv[1]}`) {
|
||||
app.listen(config.port, () => {
|
||||
console.log(`server is running at http://localhost:${config.port}`);
|
||||
});
|
||||
app.server.on(uploadMiddleware);
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user