Skip to content

Commit

Permalink
Nix stray slashes from the URL
Browse files Browse the repository at this point in the history
It's odd that it had worked at all.
  • Loading branch information
offby1 committed May 10, 2015
1 parent 0e92585 commit e298168
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tinyurl.rkt
Expand Up @@ -22,7 +22,9 @@
"eensy.teensy.info"
#f
#t
(list (path/param "/shorten-/" '()))
`(
,(path/param "shorten-" '())
,(path/param "" '()))
`((input_url . ,long-url))
#f)
get-pure-port/gack
Expand Down

0 comments on commit e298168

Please sign in to comment.