Skip to content

Commit

Permalink
more agressively set production mode
Browse files Browse the repository at this point in the history
  • Loading branch information
John Lifsey committed May 12, 2018
1 parent 6f3a29f commit 7ef4e96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infinitude
Expand Up @@ -57,7 +57,7 @@ if (defined($config->{serial_tty})) {
}

app->secrets([$config->{app_secret}]);
push @{app->static->paths}, $ENV{MOJO_MODE}//'' eq 'development' ? 'public/app' : 'public/dist';
push (@{app->static->paths}, ('development' eq $ENV{MOJO_MODE}) ? 'public/app' : 'public/dist');

hook before_dispatch => sub {
my $c = shift;
Expand Down

0 comments on commit 7ef4e96

Please sign in to comment.