From 7b9f5fdb1381ba5c0c056283a055ba2ea025855e Mon Sep 17 00:00:00 2001 From: geoffrey45 Date: Wed, 1 Feb 2023 21:03:30 +0300 Subject: [PATCH] fix: disable flask debug remove and revoke last fm api key --- app/settings.py | 3 --- manage.py | 2 +- wsgi.py | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/app/settings.py b/app/settings.py index 076e1700..18fa097f 100644 --- a/app/settings.py +++ b/app/settings.py @@ -60,9 +60,6 @@ IMG_PLAYLIST_URI = IMG_BASE_URI + "playlists/" # defaults DEFAULT_ARTIST_IMG = IMG_ARTIST_URI + "0.webp" - -NOT_LASTFM_API_KEY = "762db7a44a9e6fb5585661f5f2bdf23a" - THUMB_SIZE = 400 SM_THUMB_SIZE = 64 SM_ARTIST_IMG_SIZE = 64 diff --git a/manage.py b/manage.py index 90e361d6..cfb2d10a 100644 --- a/manage.py +++ b/manage.py @@ -197,7 +197,7 @@ if __name__ == "__main__": start_watchdog() app.run( - debug=True, + debug=False, threaded=True, host=Variables.FLASK_HOST, port=Variables.FLASK_PORT, diff --git a/wsgi.py b/wsgi.py index bc1e420b..6cde14e5 100644 --- a/wsgi.py +++ b/wsgi.py @@ -2,4 +2,4 @@ from app.api import create_api if __name__ == '__main__': app = create_api() - app.run(debug=True, threaded=True) + app.run(debug=False, threaded=True)