add web init with uiconfig file path, add cli flag

This commit is contained in:
Christoph Kluge
2025-10-08 16:25:50 +02:00
parent 31cfa8cd7c
commit e296cd7ca0
5 changed files with 63 additions and 3 deletions

View File

@@ -52,6 +52,8 @@ func onFailureResponse(rw http.ResponseWriter, r *http.Request, err error) {
}
func serverInit() {
// Init Web Package (Primarily: uiDefaults)
web.Init(flagUiConfigFile)
// Setup the http.Handler/Router used by the server
graph.Init()
resolver := graph.GetResolverInstance()