Implement restrictive placeholder

This commit is contained in:
swagg boi 2021-03-13 00:42:36 -05:00
parent f47556e172
commit 61a112a392
2 changed files with 2 additions and 1 deletions

View file

@ -22,6 +22,7 @@ COPY templates/ ./templates/
COPY .mmCreds.xml .
COPY .msg.bans .
COPY .name.bans .
COPY www-swagg.conf .
COPY www-swagg.pl .
# Finish setting up the environment

View file

@ -98,7 +98,7 @@ get '/ula6' => sub {
};
# Catch any other route
get '/:route' => sub {
get '/:route' => [route => [qw{die me news}]] => sub {
my ($c) = @_;
my $route = $c->stash('route');