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:
parent
83ff291d6c
commit
6febb70948
5 changed files with 9 additions and 2 deletions
|
@ -6,7 +6,7 @@ blogspam=false
|
||||||
[database]
|
[database]
|
||||||
|
|
||||||
[mojolicious.hypnotoad]
|
[mojolicious.hypnotoad]
|
||||||
listen=["http://localhost:3001"]
|
listen=[]
|
||||||
|
|
||||||
[memcached]
|
[memcached]
|
||||||
namespace="pastebin"
|
namespace="pastebin"
|
||||||
|
|
|
@ -1,2 +1,5 @@
|
||||||
[database]
|
[database]
|
||||||
dsc="postgresql://perlbot_pastebin:wrorkEvopCagyadMoighinIgiloinnAl:drepHodNorchoibTessiraypGacWobjoolbyewd9OsofogerObhypBeurvackidnipBifreTwusGikghiavratuckTujtie@localhost/perlbot_pastes_dev"
|
dsc="postgresql://perlbot_pastebin:wrorkEvopCagyadMoighinIgiloinnAl:drepHodNorchoibTessiraypGacWobjoolbyewd9OsofogerObhypBeurvackidnipBifreTwusGikghiavratuckTujtie@localhost/perlbot_pastes_dev"
|
||||||
|
|
||||||
|
[mojolicious.hypnotoad]
|
||||||
|
listen=["http://localhost:3001"]
|
||||||
|
|
|
@ -1,2 +1,5 @@
|
||||||
[database]
|
[database]
|
||||||
dsc="postgresql://perlbot_pastebin:wrorkEvopCagyadMoighinIgiloinnAl:drepHodNorchoibTessiraypGacWobjoolbyewd9OsofogerObhypBeurvackidnipBifreTwusGikghiavratuckTujtie@localhost/perlbot_pastes"
|
dsc="postgresql://perlbot_pastebin:wrorkEvopCagyadMoighinIgiloinnAl:drepHodNorchoibTessiraypGacWobjoolbyewd9OsofogerObhypBeurvackidnipBifreTwusGikghiavratuckTujtie@localhost/perlbot_pastes"
|
||||||
|
|
||||||
|
[mojolicious.hypnotoad]
|
||||||
|
listen=["http://localhost:3000"]
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
172893
|
|
|
@ -19,6 +19,8 @@ my $cfg_dir = path($Bin)->child('etc');
|
||||||
|
|
||||||
our $env = $ENV{MOJO_MODE} // $ENV{PLACK_ENV} // "development";
|
our $env = $ENV{MOJO_MODE} // $ENV{PLACK_ENV} // "development";
|
||||||
|
|
||||||
|
warn "Loading $env configs";
|
||||||
|
|
||||||
our $cfg = do {
|
our $cfg = do {
|
||||||
my $merged_config;
|
my $merged_config;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue