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

Configs fully working

This commit is contained in:
Ryan Voots 2021-04-26 15:53:16 -04:00
parent 83ff291d6c
commit 6febb70948
5 changed files with 9 additions and 2 deletions

View file

@ -6,7 +6,7 @@ blogspam=false
[database]
[mojolicious.hypnotoad]
listen=["http://localhost:3001"]
listen=[]
[memcached]
namespace="pastebin"

View file

@ -1,2 +1,5 @@
[database]
dsc="postgresql://perlbot_pastebin:wrorkEvopCagyadMoighinIgiloinnAl:drepHodNorchoibTessiraypGacWobjoolbyewd9OsofogerObhypBeurvackidnipBifreTwusGikghiavratuckTujtie@localhost/perlbot_pastes_dev"
[mojolicious.hypnotoad]
listen=["http://localhost:3001"]

View file

@ -1,2 +1,5 @@
[database]
dsc="postgresql://perlbot_pastebin:wrorkEvopCagyadMoighinIgiloinnAl:drepHodNorchoibTessiraypGacWobjoolbyewd9OsofogerObhypBeurvackidnipBifreTwusGikghiavratuckTujtie@localhost/perlbot_pastes"
[mojolicious.hypnotoad]
listen=["http://localhost:3000"]

View file

@ -1 +0,0 @@
172893

View file

@ -19,6 +19,8 @@ my $cfg_dir = path($Bin)->child('etc');
our $env = $ENV{MOJO_MODE} // $ENV{PLACK_ENV} // "development";
warn "Loading $env configs";
our $cfg = do {
my $merged_config;