feat: add load types
This commit is contained in:
@@ -4,9 +4,10 @@ import './route.ts';
|
||||
const config = useConfig();
|
||||
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 { app };
|
||||
loadApps(app);
|
||||
app.listen(config.port, () => {
|
||||
console.log(`server is running at http://localhost:${config.port}`);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user