Adding listen shortcut.
This commit is contained in:
parent
3385809e09
commit
1cd463434a
@ -6,6 +6,12 @@ sub startup ($self) {
|
||||
|
||||
# Load configuration from config file
|
||||
my $config = $self->plugin('NotYAMLConfig');
|
||||
$self->config(
|
||||
hypnotoad => {
|
||||
proxy => 1,
|
||||
listen => [ $self->config('listen') // 'http://localhost:3000' ]
|
||||
}
|
||||
);
|
||||
|
||||
# Configure the application
|
||||
$self->secrets( $config->{secrets} );
|
||||
|
Loading…
Reference in New Issue
Block a user