Removing config load.
This commit is contained in:
parent
605f3f7f97
commit
c594ee5ce6
@ -4,12 +4,6 @@ use Mojo::Base 'Mojolicious', -signatures;
|
|||||||
# This method will run once at server start
|
# This method will run once at server start
|
||||||
sub startup ($self) {
|
sub startup ($self) {
|
||||||
|
|
||||||
# Load configuration from config file
|
|
||||||
my $config = $self->plugin('NotYAMLConfig');
|
|
||||||
|
|
||||||
# Configure the application
|
|
||||||
$self->secrets($config->{secrets});
|
|
||||||
|
|
||||||
# Router
|
# Router
|
||||||
my $r = $self->routes;
|
my $r = $self->routes;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user