浏览代码

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?

正在加载...
取消
保存