Skip to content

Commit

Permalink
assume https
Browse files Browse the repository at this point in the history
  • Loading branch information
will-lol committed Mar 5, 2024
1 parent ba0b272 commit 41a1d2f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions services/url/default.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const hostname = "will.forsale"
func GetURL(ctx context.Context) (*url.URL, error) {
if req, ok := ctx.Value("url").(*url.URL); ok {
req.Host = hostname
req.Scheme = "https"
fmt.Println(req.String())
return req, nil
}
Expand Down

0 comments on commit 41a1d2f

Please sign in to comment.