update new way
This commit is contained in:
@@ -2,10 +2,10 @@ import { useConfig } from '@abearxiong/use-config';
|
||||
import { app } from './app.ts';
|
||||
import './route.ts';
|
||||
const config = useConfig();
|
||||
import { app as aiApp } from '@kevisual/ai-lang/src/index.ts';
|
||||
// import { app as aiApp } from '@kevisual/ai-lang/src/index.ts';
|
||||
import { uploadMiddleware } from './lib/upload.ts';
|
||||
import { loadApps } from './load-apps.ts';
|
||||
export { aiApp };
|
||||
// export { aiApp };
|
||||
export { app };
|
||||
loadApps(app);
|
||||
app.listen(config.port, () => {
|
||||
|
||||
Reference in New Issue
Block a user