Skip to content

Commit

Permalink
SERVER_HOSTNAME fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tavdog committed Feb 8, 2025
1 parent 99e008e commit 180856e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tronbyt_server/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def create_app(test_config=None):
app.config.from_mapping(
SECRET_KEY='lksdj;as987q3908475ukjhfgklauy983475iuhdfkjghairutyh',
MAX_CONTENT_LENGTH = 1000 * 1000, # 1mbyte upload size limit
SERVER_HOSTNAME = os.environ['SERVER_HOSTNAME_OR_IP'] or 'localhost',
SERVER_HOSTNAME = os.environ['SERVER_HOSTNAME'] or 'localhost',
MAIN_PORT = os.environ['SERVER_PORT'] or 8000,
USERS_DIR = 'users',
)
Expand Down

0 comments on commit 180856e

Please sign in to comment.