9 lines
241 B
TypeScript
9 lines
241 B
TypeScript
|
import { Application, readConfig } from '@nocobase/server';
|
||
|
import * as path from 'path';
|
||
|
|
||
|
(async () => {
|
||
|
const config = await readConfig(path.join(__dirname, './config'));
|
||
|
const app = new Application(config);
|
||
|
await app.parse();
|
||
|
})();
|