Implement restrictive placeholder
This commit is contained in:
parent
f47556e172
commit
61a112a392
|
@ -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
|
||||
|
|
|
@ -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');
|
||||
|
||||
|
|
Loading…
Reference in a new issue