mirror of
https://git.sr.ht/~crc_/retroforth
synced 2024-11-16 19:48:56 +01:00
fix bug in glossary server
FossilOrigin-Name: 0520f0b94f546ac0ac9e80fbbf8176f5296aafd01ded206523b32ef3cfaafa87
This commit is contained in:
parent
f3dd6271bf
commit
b11f2e5dc5
1 changed files with 2 additions and 2 deletions
|
@ -704,13 +704,13 @@ And then the actual top level server.
|
|||
|
||||
:handle-http
|
||||
page-header
|
||||
&Selector ASCII:SPACE s:tokenize #1 a:nth fetch
|
||||
&Selector ASCII:SPACE s:tokenize #1 a:th fetch
|
||||
dup s:length #1 eq?
|
||||
[ drop http:list-words ]
|
||||
[ n:inc s:to-number http:display ] choose ;
|
||||
|
||||
:handle-gopher
|
||||
&Selector ASCII:SPACE s:tokenize #1 a:nth fetch
|
||||
&Selector ASCII:SPACE s:tokenize #1 a:th fetch
|
||||
s:chop s:keep dup s:put !Target gopher:display ;
|
||||
|
||||
---reveal---
|
||||
|
|
Loading…
Reference in a new issue