From 1001a24be6de4edf520f6f91511e7441fedd05b2 Mon Sep 17 00:00:00 2001 From: qydysky Date: Sat, 31 Aug 2024 20:54:05 +0800 Subject: [PATCH] 1 --- http.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/http.go b/http.go index 6a6fd62..854ee17 100644 --- a/http.go +++ b/http.go @@ -11,7 +11,7 @@ import ( "time" _ "unsafe" - preqf "github.com/qydysky/part/reqf" + "github.com/qydysky/front/utils" pslice "github.com/qydysky/part/slice" ) @@ -129,7 +129,7 @@ func httpDealer(ctx context.Context, w http.ResponseWriter, r *http.Request, rou MaxAge: chosenBack.Splicing(), Path: "/", } - if preqf.ValidCookieDomain(r.Host) { + if utils.ValidCookieDomain(r.Host) { cookie.Domain = r.Host } w.Header().Add("Set-Cookie", (cookie).String()) -- 2.39.2