fix: disable flask debug

remove and revoke last fm api key
This commit is contained in:
geoffrey45 2023-02-01 21:03:30 +03:00
parent 9d288db2de
commit 7b9f5fdb13
3 changed files with 2 additions and 5 deletions

View File

@ -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

View File

@ -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,

View File

@ -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)