fix: add default extension ui path (#1371)
Co-authored-by: sealday <sealday@gmail.com> Reviewed-on: daoyoucloud/tachybase#1371
This commit is contained in:
parent
28dc67bb0d
commit
16bb3ff31d
@ -24,7 +24,8 @@ export class PluginAdapterBullmqServer extends Plugin {
|
|||||||
queues: [new BullMQAdapter(defaultQueue)],
|
queues: [new BullMQAdapter(defaultQueue)],
|
||||||
serverAdapter,
|
serverAdapter,
|
||||||
});
|
});
|
||||||
serverAdapter.setBasePath(process.env.EXTENSION_UI_BASE_PATH + 'mqui');
|
const EXTENSION_UI_BASE_PATH = process.env.EXTENSION_UI_BASE_PATH || '/adapters/';
|
||||||
|
serverAdapter.setBasePath(EXTENSION_UI_BASE_PATH + 'mqui');
|
||||||
this.app.use(serverAdapter.registerPlugin(), { before: 'bodyParser' });
|
this.app.use(serverAdapter.registerPlugin(), { before: 'bodyParser' });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user