mirror of
https://github.com/perlbot/perlbuut-pastebin
synced 2025-06-07 14:17:26 -04:00
Setup hypnotoad
This commit is contained in:
parent
2b8ac01ebd
commit
1b5af35f16
2 changed files with 6 additions and 0 deletions
4
app.cfg
4
app.cfg
|
@ -3,6 +3,9 @@ memcached=true
|
||||||
evalserver=true
|
evalserver=true
|
||||||
blogspam=false
|
blogspam=false
|
||||||
|
|
||||||
|
[mojolicious.hypnotoad]
|
||||||
|
listen=["http://localhost:3000"]
|
||||||
|
|
||||||
[memcached]
|
[memcached]
|
||||||
namespace="pastebin"
|
namespace="pastebin"
|
||||||
unique_namespace=true
|
unique_namespace=true
|
||||||
|
@ -50,5 +53,6 @@ protocol="perlbot"
|
||||||
"192.168.32.1:perlbot:#cobol"="Freenode #cobol"
|
"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"="irc.perl.org #perl"
|
||||||
"192.168.32.1:perlbot-magnet:#perl-help"="irc.perl.org #perl-help"
|
"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:#perl"="OFTC #perl"
|
||||||
"192.168.32.1:perlbot-oftc:#perlbot"="OFTC #perlbot"
|
"192.168.32.1:perlbot-oftc:#perlbot"="OFTC #perlbot"
|
||||||
|
|
|
@ -20,6 +20,8 @@ use App::Model::Languages;
|
||||||
sub startup {
|
sub startup {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
|
||||||
|
$self->config($cfg->{mojolicious});
|
||||||
|
|
||||||
$self->plugin('tt_renderer' => {
|
$self->plugin('tt_renderer' => {
|
||||||
template_options => {
|
template_options => {
|
||||||
PRE_CHOMP => 1,
|
PRE_CHOMP => 1,
|
||||||
|
|
Loading…
Add table
Reference in a new issue