From 41a1d2f1263557e4960a7fc24393838d949568fa Mon Sep 17 00:00:00 2001 From: Will Date: Tue, 5 Mar 2024 19:58:55 +1100 Subject: [PATCH] assume https --- services/url/default.go | 1 + 1 file changed, 1 insertion(+) diff --git a/services/url/default.go b/services/url/default.go index 16d8808..0e072c4 100644 --- a/services/url/default.go +++ b/services/url/default.go @@ -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 }