Hyperlink-Redirect/lib/Hyperlink-Redirect.rakumod

14 lines
321 B
Raku
Raw Normal View History

2023-09-23 04:44:32 +00:00
use v6.d;
use Humming-Bird::Core;
# Normally would 'use' local libs here for Controller and Model and
# what not but keeping it simple for now...
# Must set the root path lest yet miss setting $!root
my $router = Router.new(root => '/');
$router.get(-> $request, $response {
$response.write('testing 123...')
});