restrict v8
This commit is contained in:
@@ -162,6 +162,8 @@ func New() *flamego.Flame {
|
||||
f.Get("/sponsor", route.Sponsor)
|
||||
f.Get("/change-logs", route.ChangeLogs)
|
||||
f.Get("/about-me", route.AboutMe)
|
||||
// 社区规则:公开页,处置时的引用依据。
|
||||
f.Get("/rules", route.Rules)
|
||||
f.Get("/robots.txt", func(c context.Context) {
|
||||
fs, err := static.FS.Open("robots.txt")
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user