rm poweredby flag
All checks were successful
Gitea Go Release Actions / Release Go Binary (amd64, linux) (push) Successful in 50s
Gitea Go Release Actions / Release Go Binary (arm64, darwin) (push) Successful in 47s
Gitea Go Release Actions / Release Go Binary (arm64, linux) (push) Successful in 1m14s
Gitea Go Release Actions / Release Go Binary (amd64, darwin) (push) Successful in 39s
Gitea Go Release Actions / Release Go Binary (amd64, windows) (push) Successful in 1m9s
Gitea Go Release Actions / Release Go Binary (arm, linux) (push) Successful in 1m6s

This commit is contained in:
yzqzss 2024-07-17 14:04:19 -07:00
parent 8260784a7f
commit 9db3698d54

View File

@ -145,7 +145,6 @@ func EnsureHomepageOK(htmldata string) bool {
"currentBlogApp",
"application/rss+xml",
"antiforgery_token",
"poweredby",
}
for _, flag := range Flags {
if !strings.Contains(htmldata, flag) {