mirror of
https://github.com/unraid/api.git
synced 2026-01-16 05:37:25 -06:00
fix: ensure core is loaded before loading server
This commit is contained in:
@@ -9,6 +9,9 @@ import { server } from './server';
|
||||
|
||||
// Boot app
|
||||
am(async () => {
|
||||
// Load core
|
||||
await core.core.load();
|
||||
|
||||
// Load server
|
||||
await core.loadServer('graphql-api', server);
|
||||
}, error => {
|
||||
|
||||
Reference in New Issue
Block a user