Skip to content
This repository was archived by the owner on Oct 16, 2021. It is now read-only.

Commit 7b34d88

Browse files
committed
REDIS -> REDIS_URL
1 parent 5456ddf commit 7b34d88

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

config.ru

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ use Rack::Deflater
1818
use Rack::Static, urls: ['/css', '/images', '/js', 'favicon.ico'],
1919
root: 'public'
2020

21-
if ENV['REDIS']
22-
use Rack::Cache, metastore: "#{ENV['REDIS']}/0/metastore",
23-
entitystore: "#{ENV['REDIS']}/0/entitystore"
21+
if ENV['REDIS_URL']
22+
use Rack::Cache, metastore: "#{ENV['REDIS_URL']}/0/metastore",
23+
entitystore: "#{ENV['REDIS_URL']}/0/entitystore"
2424
end
2525

2626
require './web'

0 commit comments

Comments
 (0)