Skip to content

Commit e333e57

Browse files
Update server/chelon-service.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 0bce5e7 commit e333e57

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/chelon-service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ def sign_repodata():
359359
# Run the Flask app
360360
# Prioritize config file over environment variables
361361
host = config.get('CHELON_HOST') or os.environ.get('CHELON_HOST', '127.0.0.1')
362-
port = int(config.get('CHELON_PORT') or os.environ.get('CHELON_PORT', 5050))
362+
port = int(config.get('CHELON_PORT') or os.environ.get('CHELON_PORT') or 5050)
363363

364364
logger.info(f"Starting Chelon service on {host}:{port}")
365365

0 commit comments

Comments
 (0)