瀏覽代碼

Oops

master
Dylan Baker 4 年之前
父節點
當前提交
698f573f79
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      web/server.rb

+ 1
- 1
web/server.rb 查看文件

@@ -13,7 +13,7 @@ class VLVSearch < Sinatra::Base
13 13
       expire_after: 14_400,
14 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 18
   get '/' do
19 19
     redirect '/login' unless signed_in?

Loading…
取消
儲存