lil clean-up

This commit is contained in:
swagg boi 2023-11-03 12:54:11 -04:00
parent 6579433c62
commit ccc9479d59

View file

@ -31,9 +31,8 @@ $router.post(-> $request, $response {
my Str $url-host = $request.headers.<Host>; my Str $url-host = $request.headers.<Host>;
my (Str $base-url, Str $hyperlink, Str %stash); my (Str $base-url, Str $hyperlink, Str %stash);
$base-url = $meta-refresh $base-url = $url-scheme ~ '://' ~ $url-host ~
?? $url-scheme ~ '://' ~ $url-host ~ '/--meta-refresh/' ($meta-refresh ?? '/--meta-refresh/' !! '/');
!! $url-scheme ~ '://' ~ $url-host ~ '/';
$hyperlink = $base-url ~ encode-base64(gzip($return-url), :str); $hyperlink = $base-url ~ encode-base64(gzip($return-url), :str);