From 9e1d74056e31a7df544ddca9bd24fdb6076dbe53 Mon Sep 17 00:00:00 2001 From: "mail_yanpeng@163.com" Date: Tue, 18 Dec 2018 14:58:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=91=E6=82=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- filter/Security.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/filter/Security.go b/filter/Security.go index a9368b5..38a97ad 100644 --- a/filter/Security.go +++ b/filter/Security.go @@ -9,6 +9,8 @@ var FilterAdmin = func(ctx *context.Context) { url := ctx.Input.URI() refer := ctx.Input.Refer() logs.Info(url) + logs.Info(refer) + logs.Info("https://www.aiprose.com"+url) if "https://www.aiprose.com"+url == refer { ctx.Input.SetData("refresh", true) }