mail_yanpeng@163.com vor 6 Jahren
Ursprung
Commit
1b319126a7
  1. 5
      filter/Security.go

5
filter/Security.go

@ -8,11 +8,8 @@ import (
var FilterAdmin = func(ctx *context.Context) {
url := ctx.Input.URI()
refer := ctx.Input.Refer()
site := ctx.Input.Site()
logs.Info(url)
logs.Info(site)
logs.Info(site + url)
if site+url == refer {
if "https://www.aiprose.com"+url == refer {
ctx.Input.SetData("refresh", true)
}
//beego.Informational(url)

Laden…
Abbrechen
Speichern