From 3d354ed6e2b432edd4968ba94f3e093d138d6ffd Mon Sep 17 00:00:00 2001 From: Matt Arderne Date: Sat, 25 Jul 2020 10:26:35 +0000 Subject: [PATCH] Change app host to localhost Fix for my redirect URI issue https://github.com/XeroAPI/xero-python-oauth2-starter/issues/13 --- app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index 9269c126..18a747d0 100644 --- a/app.py +++ b/app.py @@ -288,5 +288,5 @@ def get_xero_tenant_id(): return connection.tenant_id -if __name__ == "__main__": - app.run() +if __name__ == '__main__': + app.run(host='localhost', port=5000)