summaryrefslogtreecommitdiff
path: root/src/cmd
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2023-01-21 19:38:59 +0100
committerBrian Picciano <mediocregopher@gmail.com>2023-01-21 19:38:59 +0100
commit0d420f70d89281320d95e92db01b240a40c6e2f7 (patch)
tree57e4fafdd67bfad2cff8df3dc1b53365bdcb6176 /src/cmd
parent2ca44b60d4cdbd6158604b5c25f80a9139f8c716 (diff)
Fix StaticURL in gemini
Diffstat (limited to 'src/cmd')
-rw-r--r--src/cmd/mediocre-blog/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/mediocre-blog/main.go b/src/cmd/mediocre-blog/main.go
index cdd9b1b..ff8e478 100644
--- a/src/cmd/mediocre-blog/main.go
+++ b/src/cmd/mediocre-blog/main.go
@@ -126,6 +126,7 @@ func main() {
gmiParams.Logger = logger.WithNamespace("gmi")
gmiParams.PostStore = postStore
gmiParams.PostAssetStore = postAssetStore
+ gmiParams.HTTPPublicURL = httpParams.PublicURL
logger.Info(ctx, "starting gmi api")
gmiAPI, err := gmi.New(gmiParams)