Merge remote-tracking branch 'origin/master'

This commit is contained in:
M_Kececi
2026-02-18 15:09:34 +03:00
parent 727069910d
commit c3a1627152

View File

@@ -685,12 +685,17 @@ func uiRootDir() string {
return d
}
candidates := []string{"../ui/dist", "./ui/dist"}
candidates := []string{
"../ui/dist/spa",
"./ui/dist/spa",
"../ui/dist",
"./ui/dist",
}
for _, d := range candidates {
if fi, err := os.Stat(d); err == nil && fi.IsDir() {
return d
}
}
return "../ui/dist"
return "../ui/dist/spa"
}