Skip to content

Commit

Permalink
remove ineffective MOJO_MODE settings
Browse files Browse the repository at this point in the history
  • Loading branch information
drdrew42 committed Sep 1, 2021
1 parent d8ab368 commit 3b7138e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion lib/RenderApp.pm
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ sub startup {
$self->plugin('Config');
$self->plugin('TagHelpers');
$self->secrets($self->config('secrets'));
for ( qw(problemJWTsecret webworkJWTsecret baseURL formURL SITE_HOST MOJO_MODE STRICT_JWT) ) {
for ( qw(problemJWTsecret webworkJWTsecret baseURL formURL SITE_HOST STRICT_JWT) ) {
$ENV{$_} //= $self->config($_);
};

Expand Down
1 change: 0 additions & 1 deletion render_app.conf.dist
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
webworkJWTsecret => 'private',
SITE_HOST => 'http://localhost:3000',
CORS_ORIGIN => '*',
MOJO_MODE => 'development',
STRICT_JWT => 0,
hypnotoad => {
listen => ['http://*:3000'],
Expand Down

0 comments on commit 3b7138e

Please sign in to comment.