mirror of
https://codeberg.org/git-pages/git-pages.git
synced 2026-08-16 08:56:03 +00:00
Allow detaching all audit records related to a site.
This commit is contained in:
+1
-1
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user