Allow detaching all audit records related to a site.

This commit is contained in:
miyuko
2026-05-03 11:53:01 +00:00
committed by Catherine
parent 684553ba72
commit 5808e90e5a
3 changed files with 52 additions and 21 deletions
+1 -1
View File
@@ -143,7 +143,7 @@ func getPage(w http.ResponseWriter, r *http.Request) error {
err = nil
sitePath = strings.TrimPrefix(r.URL.Path, "/")
if projectName, projectPath, hasProjectSlash := strings.Cut(sitePath, "/"); projectName != "" {
if IsValidProjectName(projectName) {
if ValidateProjectName(projectName) == nil {
var projectManifest *Manifest
var projectMetadata ManifestMetadata
projectManifest, projectMetadata, err = backend.GetManifest(