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 $base-url, Str $hyperlink, Str %stash);
$base-url = $meta-refresh
?? $url-scheme ~ '://' ~ $url-host ~ '/--meta-refresh/'
!! $url-scheme ~ '://' ~ $url-host ~ '/';
$base-url = $url-scheme ~ '://' ~ $url-host ~
($meta-refresh ?? '/--meta-refresh/' !! '/');
$hyperlink = $base-url ~ encode-base64(gzip($return-url), :str);