fix: site form JS conflict with window.name

This commit is contained in:
orohi
2026-06-17 05:49:15 +03:00
parent 52c4c785df
commit 9b7eb99d20
2 changed files with 18 additions and 7 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ func (h *SiteHandler) Create(w http.ResponseWriter, r *http.Request) {
errors.Is(err, sitesvc.ErrInvalidPHPVersion):
writeError(w, http.StatusBadRequest, err.Error())
default:
writeError(w, http.StatusInternalServerError, "failed to create site")
writeError(w, http.StatusInternalServerError, "failed to create site: "+err.Error())
}
return
}