8217ebfb1b
* feat: improve plugin manager process * fix: skip help error * fix: ipc check * fix: improve remove * fix: refresh * fix: remove dir * fix: improve code * fix: update yarn.lock * fix: e2e error * fix: migration * fix: pm create * Revert "fix: migration" This reverts commit 8f8fe04436ac96798259fb6debd88fffcb613560. * fix: remove sample-hello
13 lines
248 B
TypeScript
13 lines
248 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);
|
|
});
|