Fixed non-nucleus services not getting proper resources
Signed-off-by: Arzumify <jliwin98@danwin1210.de>
This commit is contained in:
parent
4eb690ea9a
commit
8c25a88bbd
2
main.go
2
main.go
|
@ -674,7 +674,7 @@ func main() {
|
||||||
Configuration: config.Services[serviceInformation.(*library.Service).Name].(map[string]interface{}),
|
Configuration: config.Services[serviceInformation.(*library.Service).Name].(map[string]interface{}),
|
||||||
Outbox: globalOutbox,
|
Outbox: globalOutbox,
|
||||||
Inbox: inbox,
|
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,
|
Router: finalRouter,
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue