Skip to content

Commit

Permalink
fix redis
Browse files Browse the repository at this point in the history
  • Loading branch information
mukulpatnaik committed Feb 7, 2023
1 parent 0f49c1b commit b1d2684
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
from _md5 import md5

app = Flask(__name__)
# db=redis.from_url(os.environ['REDISCLOUD_URL'])
db = redis.StrictRedis(host='localhost', port=6379, db=0)
db=redis.from_url(os.environ['REDISCLOUD_URL'])
# db = redis.StrictRedis(host='localhost', port=6379, db=0)
CORS(app)


Expand Down

0 comments on commit b1d2684

Please sign in to comment.