2021-01-21 00:15:31 -05:00
|
|
|
#!/usr/bin/env perl
|
|
|
|
|
|
|
|
use Mojolicious::Lite;
|
|
|
|
|
2024-08-02 21:15:03 -04:00
|
|
|
get '/' => sub {
|
|
|
|
my ($c) = @_;
|
|
|
|
|
|
|
|
$c->redirect_to('/welcome');
|
|
|
|
};
|
|
|
|
|
2024-08-02 20:59:09 -04:00
|
|
|
get '/*' => sub {
|
|
|
|
my ($c) = @_;
|
2021-01-21 00:15:31 -05:00
|
|
|
|
2024-08-02 20:59:09 -04:00
|
|
|
$c->render();
|
2021-01-21 00:15:31 -05:00
|
|
|
} => 'index';
|
|
|
|
|
|
|
|
app->start();
|