13 lines
245 B
TypeScript
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);
|
|
});
|