Fix the path match with redirect; add some HTML comments

This commit is contained in:
swagg boi 2024-08-02 21:15:03 -04:00
parent 4690469433
commit 4c5efde5ee
2 changed files with 24 additions and 0 deletions

View File

@ -23,6 +23,24 @@
<link rel="stylesheet" type="text/css" href="/assets/main.css"> <link rel="stylesheet" type="text/css" href="/assets/main.css">
</head> </head>
<body> <body>
<!--
###### ###### ####### ####### ### ######
# # # # # # # # # #
# # # # # # # # # #
###### ###### # # # # ######
# # # # # # # #
# # # # # # # #
# # # ####### # ### #
================================================
You can append any path you want, e.g.:
http://wethepeople.win/blog
http://wethepeople.win/web/forum.php
It will always return the same thing 😎
-->
<!-- Some JS --> <!-- Some JS -->
<script> <script>
// Make the banner go away // Make the banner go away

View File

@ -2,6 +2,12 @@
use Mojolicious::Lite; use Mojolicious::Lite;
get '/' => sub {
my ($c) = @_;
$c->redirect_to('/welcome');
};
get '/*' => sub { get '/*' => sub {
my ($c) = @_; my ($c) = @_;