tachybase_todo/packages/core/app/src/index.ts

13 lines
245 B
TypeScript

import { Gateway } from '@nocobase/server';
import { getConfig } from './config';
getConfig()
.then((config) => {
return Gateway.getInstance().run({
mainAppOptions: config,
});
})
.catch((e) => {
console.error(e);
});