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!
This commit is contained in:
Robert Miles 2020-11-16 18:00:08 +00:00
parent 09f3de2ff2
commit dbcc342025
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python3
import molniya, gemini
gemini.start_response(molniya.next_url(),"30")
gemini.start_response(molniya.prev_url(),"30")

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python3
import molniya, gemini
gemini.start_response(molniya.next_url(),"30")
gemini.start_response(molniya.rand_url(),"30")