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">
|
<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
|
||||||
|
@ -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) = @_;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user