GmCapsule [main]

Fix replacement paths

=> c46496b966600d7a7ecec3a653fbd76e0e1e43b3

diff --git a/gmcapsule/gemini.py b/gmcapsule/gemini.py
index 08e0752..18a2ff2 100644
--- a/gmcapsule/gemini.py
+++ b/gmcapsule/gemini.py
@@ -786,6 +786,7 @@ class RequestHandler(mp.Process):
     def _run(self):
         self.context = Context(self.cfg)
         self.context.load_modules()
+        self.context.set_quiet(False)
 
         # Wait for request processing jobs.
         try:
diff --git a/gmcapsule/modules/10_rewrite.py b/gmcapsule/modules/10_rewrite.py
index 313c6e8..a7be487 100644
--- a/gmcapsule/modules/10_rewrite.py
+++ b/gmcapsule/modules/10_rewrite.py
@@ -24,7 +24,9 @@ class PathRewriteHandler:
             return 40, "Stuck in rewrite loop: " + req.url()
 
         self.context.print("[rewrite]", old_path, "->", req.path)
-        return self.context.call_entrypoint(req)[0]
+        status, meta, path, _ = self.context.call_entrypoint(req)
+
+        return (status, meta, path)
 
 
 class Responder:
Proxy Information
Original URL
gemini://git.skyjake.fi/gmcapsule/main/cdiff/c46496b966600d7a7ecec3a653fbd76e0e1e43b3
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
37.183005 milliseconds
Gemini-to-HTML Time
0.190521 milliseconds

This content has been proxied by September (ba2dc).