update dependencies
This commit is contained in:
10
src/main.ts
Normal file
10
src/main.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
// 单应用实例启动
|
||||
|
||||
import { useConfig } from '@kevisual/use-config';
|
||||
import { app } from './index.ts';
|
||||
|
||||
const config = useConfig();
|
||||
|
||||
app.listen(config.port, () => {
|
||||
console.log(`server is running at http://localhost:${config.port}`);
|
||||
});
|
||||
@@ -1 +1 @@
|
||||
export { sequelize } from '@kevisual/code-center-module';
|
||||
export { sequelize, redis } from '@kevisual/code-center-module';
|
||||
|
||||
Reference in New Issue
Block a user