Fixed non-nucleus services not getting proper resources

Signed-off-by: Arzumify <jliwin98@danwin1210.de>
This commit is contained in:
Tracker-Friendly 2024-10-03 18:49:19 +01:00
parent 4eb690ea9a
commit 8c25a88bbd
1 changed files with 1 additions and 1 deletions

View File

@ -674,7 +674,7 @@ func main() {
Configuration: config.Services[serviceInformation.(*library.Service).Name].(map[string]interface{}),
Outbox: globalOutbox,
Inbox: inbox,
ResourceDir: os.DirFS(filepath.Join(config.Global.ServiceDirectory, serviceInformation.(*library.Service).ServiceID.String())),
ResourceDir: os.DirFS(filepath.Join(config.Global.ResourceDirectory, serviceInformation.(*library.Service).ServiceID.String())),
Router: finalRouter,
})
} else {