Co-authored-by: hello@lv <2256334253@qq.com> Co-authored-by: wjh <wwwjh0710@163.com> Co-authored-by: sealday <sealday@gmail.com> Reviewed-on: daoyoucloud/tachybase#719
13 lines
249 B
TypeScript
13 lines
249 B
TypeScript
import { Gateway } from '@tachybase/server';
|
|
import { getConfig } from './config';
|
|
|
|
getConfig()
|
|
.then((config) => {
|
|
return Gateway.getInstance().run({
|
|
mainAppOptions: config,
|
|
});
|
|
})
|
|
.catch((e) => {
|
|
// console.error(e);
|
|
});
|