Skip to content

Commit

Permalink
fix port value in settings
Browse files Browse the repository at this point in the history
  • Loading branch information
antibantique authored and antavik committed Dec 23, 2023
1 parent 9c9154e commit a8b9188
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
if not TOKEN:
raise EnvironmentError('token should be valid string')

HOST, PORT = os.getenv('HOST', '0.0.0.0'), os.getenv('PORT', '8010')
HOST, PORT = os.getenv('HOST', '0.0.0.0'), int(os.getenv('PORT', '8010'))

REDIS_HOST = os.getenv('REDIS_HOST', 'localhost')
REDIS_PORT = os.getenv('REDIS_PORT')
Expand Down

0 comments on commit a8b9188

Please sign in to comment.