Whoopsie vol. 420

This commit is contained in:
swagg boi 2023-11-14 00:05:53 -05:00
parent f72891b64d
commit 917097b26a

View file

@ -5,6 +5,8 @@ my $starts-with-protocol = rx:i/ ^https? '://'/;
sub fix-protocol($url) is export {
return "http://" ~ $url unless $url ~~ $starts-with-protocol;
return $url;
}
# I use a dedicated method to remove all debugging messages prior to commit