diff --git a/Dockerfile b/Dockerfile index 9a1f51c..ba89c27 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/www-swagg.pl b/www-swagg.pl index 5dd65b6..d8d4bab 100755 --- a/www-swagg.pl +++ b/www-swagg.pl @@ -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');