Skip to content

Commit

Permalink
Fix hostname on web server
Browse files Browse the repository at this point in the history
  • Loading branch information
six2dez committed Oct 3, 2023
1 parent 8248289 commit b10202f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/web/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

DEBUG = 1

ipAddress=os.popen('hostname -I | cut -d " " -f1').read().strip()
ipAddress=os.popen('hostname -i | cut -d " " -f1').read().strip()
ALLOWED_HOSTS = [ipAddress, 'localhost', '127.0.0.1', '*']

# SESSION_COOKIE_SECURE = True
Expand Down

0 comments on commit b10202f

Please sign in to comment.