Browse Source

Oops

master
Dylan Baker 4 years ago
parent
commit
698f573f79
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      web/server.rb

+ 1
- 1
web/server.rb View File

13
       expire_after: 14_400,
13
       expire_after: 14_400,
14
       secret: ENV['SESSION_SECRET']
14
       secret: ENV['SESSION_SECRET']
15
 
15
 
16
-  set :environment ENV['APP_ENV'] == 'production' ? :production : :development
16
+  set :environment, ENV['APP_ENV'] == 'production' ? :production : :development
17
 
17
 
18
   get '/' do
18
   get '/' do
19
     redirect '/login' unless signed_in?
19
     redirect '/login' unless signed_in?

Loading…
Cancel
Save