Adding listen directive.
This commit is contained in:
parent
62f61541ad
commit
47f1bc43a1
@ -4,5 +4,6 @@
|
||||
"db": {
|
||||
"database": "example"
|
||||
},
|
||||
"base_url": "https://burguillos.info"
|
||||
"base_url": "https://burguillos.info",
|
||||
"listen": "https:localhost:3555"
|
||||
}
|
||||
|
@ -19,7 +19,7 @@ sub startup ($self) {
|
||||
);
|
||||
my $config = $self->plugin('JSONConfig');
|
||||
$self->config(
|
||||
hypnotoad => { proxy => 1, listen => ['http://localhost:3000'] } );
|
||||
hypnotoad => { proxy => 1, listen => [$self->config('listen') // 'http://localhost:3000'] } );
|
||||
$self->config( css_version => int( rand(10000) ) );
|
||||
$self->secrets( $self->config->{secrets} );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user