mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-11-05 18:15:06 +01:00
add web init with uiconfig file path, add cli flag
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user