Skip to content

Commit 16fbd2f

Browse files
committed
Change process env
1 parent 3e06d93 commit 16fbd2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/CacheManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Redis from 'ioredis';
22
import checkCacheRule from './checkCacheRule';
33

44
const redis = new Redis({
5-
host: process.env.REDIS_HOST || 'localhost',
5+
host: process.env.REACT_APP_REDIS_HOST || 'localhost',
66
});
77

88
function createCacheKey(url: string) {

0 commit comments

Comments
 (0)