1
0
Fork 0
mirror of https://github.com/perlbot/perlbuut-pastebin synced 2025-06-07 06:06:23 -04:00

Setup hypnotoad

This commit is contained in:
Ryan Voots 2018-08-09 16:56:44 -04:00
parent 2b8ac01ebd
commit 1b5af35f16
2 changed files with 6 additions and 0 deletions

View file

@ -3,6 +3,9 @@ memcached=true
evalserver=true
blogspam=false
[mojolicious.hypnotoad]
listen=["http://localhost:3000"]
[memcached]
namespace="pastebin"
unique_namespace=true
@ -50,5 +53,6 @@ protocol="perlbot"
"192.168.32.1:perlbot:#cobol"="Freenode #cobol"
"192.168.32.1:perlbot-magnet:#perl"="irc.perl.org #perl"
"192.168.32.1:perlbot-magnet:#perl-help"="irc.perl.org #perl-help"
"192.168.32.1:perlbot-magnet:#win32"="irc.perl.org #win32"
"192.168.32.1:perlbot-oftc:#perl"="OFTC #perl"
"192.168.32.1:perlbot-oftc:#perlbot"="OFTC #perlbot"

View file

@ -20,6 +20,8 @@ use App::Model::Languages;
sub startup {
my $self = shift;
$self->config($cfg->{mojolicious});
$self->plugin('tt_renderer' => {
template_options => {
PRE_CHOMP => 1,