Whoopsies 2: Electric Boogaloo
This commit is contained in:
parent
93b7ba6717
commit
6e8a763929
|
@ -30,7 +30,7 @@ $router.post(-> $request, $response {
|
|||
my Str $return-url = fix-protocol($request.content<hyperlink>);
|
||||
my Bool $meta-refresh = $request.content<meta-refresh>.defined;
|
||||
my Str $url-scheme = $request.headers<x-forwarded-proto> || 'http';
|
||||
my Any $url-host = $request.headers<host>;
|
||||
my Str $url-host = $request.headers<host>;
|
||||
my (Str $base-url, Str $hyperlink, Str %stash);
|
||||
|
||||
$base-url = $url-scheme ~ '://' ~ $url-host ~
|
||||
|
|
Loading…
Reference in a new issue