diff options
author | Brian Picciano <mediocregopher@gmail.com> | 2023-01-24 12:40:32 +0100 |
---|---|---|
committer | Brian Picciano <mediocregopher@gmail.com> | 2023-01-24 12:45:10 +0100 |
commit | 6b3933282e3aa9803636b2ba580aced5c202eaa9 (patch) | |
tree | afee0d9661e964a3f6f2f782bd959333c4cdaa09 /src/cmd | |
parent | 63cc6cb217dadc2fa5aa8d55e054cdbad14df60a (diff) |
Refactor URL construction a bit
BlogHTTPURL and BlogGeminiURL are now used specifically to construct
absolute URLs to their respective endpoints.
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/mediocre-blog/main.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/mediocre-blog/main.go b/src/cmd/mediocre-blog/main.go index d6a6b56..d8ba768 100644 --- a/src/cmd/mediocre-blog/main.go +++ b/src/cmd/mediocre-blog/main.go @@ -112,6 +112,7 @@ func main() { httpParams.PostAssetStore = postAssetStore httpParams.PostDraftStore = postDraftStore httpParams.MailingList = ml + httpParams.GeminiPublicURL = gmiParams.PublicURL logger.Info(ctx, "starting http api") httpAPI, err := http.New(httpParams) |