Browse Source

fix url Fragment

fancl 11 months ago
parent
commit
5f537fa6d2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      helper/url/url.go

+ 1 - 0
helper/url/url.go

@@ -97,6 +97,7 @@ func Build(opts ...Option) *url.URL {
 		Host:     o.Host,
 		Path:     o.Path,
 		RawQuery: qs.Encode(),
+		Fragment: o.Fragment,
 	}
 }