1 Commits

Author SHA1 Message Date
4ebb402015 fixed stupid bug
All checks were successful
Build and Push Docker Image / Build image (push) Successful in 1m45s
2025-04-09 17:15:02 +03:00

View File

@@ -397,7 +397,7 @@ func (r *ServerManagerReconciler) GenerateBrowserUrl(s *servermanagerv1alpha1.Se
}
func (r *ServerManagerReconciler) GenerateBrowserSubPath(s *servermanagerv1alpha1.ServerManager) string {
if r.Config.Browser.SubPath == "" {
if r.Config.Browser.SubPath != "" {
return fmt.Sprintf("%s/%s/%s", r.Config.Browser.SubPath, s.Namespace, s.Name)
} else {
return fmt.Sprintf("/%s/%s", s.Namespace, s.Name)