Adding listen directive.
This commit is contained in:
parent
62f61541ad
commit
47f1bc43a1
@ -4,5 +4,6 @@
|
|||||||
"db": {
|
"db": {
|
||||||
"database": "example"
|
"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');
|
my $config = $self->plugin('JSONConfig');
|
||||||
$self->config(
|
$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->config( css_version => int( rand(10000) ) );
|
||||||
$self->secrets( $self->config->{secrets} );
|
$self->secrets( $self->config->{secrets} );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user