From 98df7c7338633155be5e16e886c087000ff98e53 Mon Sep 17 00:00:00 2001 From: Xevion Date: Wed, 25 Dec 2019 02:48:26 -0600 Subject: [PATCH] change stream key to static global --- app/sound.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/sound.py b/app/sound.py index 0d7fb86..1b5ab43 100644 --- a/app/sound.py +++ b/app/sound.py @@ -44,7 +44,7 @@ def downloadLimiter(): # Streams back the specified media back to the client @app.route('/stream//') -@limiter.limit(downloadLimiter, error_message='Rate Limit Hit') +@limiter.limit(downloadLimiter, lambda : 'global', error_message='Rate Limit Hit') def stream(service, mediaid): if service == 'youtube': if YouTubeAudio.isValid(mediaid):