Fix the path match with redirect; add some HTML comments
This commit is contained in:
parent
4690469433
commit
4c5efde5ee
@ -23,6 +23,24 @@
|
||||
<link rel="stylesheet" type="text/css" href="/assets/main.css">
|
||||
</head>
|
||||
<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 -->
|
||||
<script>
|
||||
// Make the banner go away
|
||||
|
@ -2,6 +2,12 @@
|
||||
|
||||
use Mojolicious::Lite;
|
||||
|
||||
get '/' => sub {
|
||||
my ($c) = @_;
|
||||
|
||||
$c->redirect_to('/welcome');
|
||||
};
|
||||
|
||||
get '/*' => sub {
|
||||
my ($c) = @_;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user