lil clean-up
This commit is contained in:
parent
6579433c62
commit
ccc9479d59
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue