This website requires JavaScript.
Explore
Drone CI
Help
Register
Sign In
khuxkm
/
molniya
Watch
1
Star
2
Fork
You've already forked molniya
1
Code
Issues
1
Pull Requests
Releases
Wiki
Activity
master
molniya
/
prev.cgi
5 lines
94 B
Plaintext
Raw
Permalink
Normal View
History
Unescape
Escape
Initial code commit
2020-11-15 03:38:24 +00:00
#!/usr/bin/env python3
import molniya, gemini
Well, this is awkward... The logic for prev/rand/next URL is done entirely in the molniya.py lib. Everything is handled by the molniya lib, with the CGI pages just acting as a front-end to that. So I wrote next.cgi, copied it over to prev and rand.cgi... And forgot to change the method call. Prev and rand links should now work as intended. My bad!
2020-11-16 18:00:08 +00:00
gemini.start_response(molniya.prev_url(),"30")