summaryrefslogtreecommitdiff
path: root/src/gmi
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2024-05-18 15:55:59 +0200
committerBrian Picciano <mediocregopher@gmail.com>2024-05-18 15:55:59 +0200
commit93a8843e2e3391459fd333aef9e5c7617608c2b3 (patch)
tree2e5615cd22d1b39c7d5f870b88e3f29b5c24a223 /src/gmi
parent8d7e708d98a3a46ba3ba08f9c8deeb4838bb8ca5 (diff)
Remove most rendering related querying from go http handlers
Diffstat (limited to 'src/gmi')
-rw-r--r--src/gmi/tpl.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gmi/tpl.go b/src/gmi/tpl.go
index 8ffa6bc..f6c1754 100644
--- a/src/gmi/tpl.go
+++ b/src/gmi/tpl.go
@@ -177,6 +177,8 @@ func (a *api) tplHandler() (gemini.Handler, error) {
a.params.PublicURL,
a.params.HTTPGeminiGatewayURL,
a.params.PostStore,
+ nil, // asset.Store, not supported by gemini endpoint
+ nil, // post.DraftStore, not supported by gemini endpoint
preprocessFuncs,
))