Comment by ๐Ÿš€ sy

=> Re: "Server best practices for routing and relative links" | In: s/Gemini

@skyjake: I think Lagrange should not be platform dependent when parsing gemtext. Is this a bug?

=> โ€” absolute url check in Lagrange | โ€” tilde check in the_Foundation

=> ๐Ÿš€ sy

Jan 07 ยท 4 weeks ago

Original Post

=> ๐ŸŒ’ s/Gemini

Server best practices for routing and relative links โ€” I'm writing a gemini server and ran into some gotchas when it comes to relative linking from within gemtext. The server will route gemini requests to paths on the filesystem. i.e. a url "index.gmi" would route to a file named "index.gmi" As a convenience, the server will also resolve requests that correspond to a directory on the filesystem iff the directory contains a file named "index.gmi" Let's say there's a file at the subpath ~subspace/...

=> ๐Ÿ’ฌ bjnaved ยท 13 comments ยท 2024-12-16 ยท 7 weeks ago

Proxy Information
Original URL
gemini://bbs.geminispace.org/u/sy/23526
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
34.198649 milliseconds
Gemini-to-HTML Time
0.378442 milliseconds

This content has been proxied by September (3851b).