Skip to content

Commit

Permalink
Fixed port
Browse files Browse the repository at this point in the history
  • Loading branch information
hanibalsk committed Nov 16, 2024
1 parent 60f4dad commit 64ff98b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plex_webhook.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,5 +237,5 @@ def trigger_webhook(url, event_type, device_name):
if __name__ == '__main__':
# Set debug mode and port from environment variables
debug_mode = os.getenv('FLASK_DEBUG', 'false').lower() == 'true'
port = int(os.getenv('FLASK_PORT', 4994))
port = int(os.getenv('FLASK_PORT', 4995))
app.run(host='0.0.0.0', port=port, debug=debug_mode)

0 comments on commit 64ff98b

Please sign in to comment.