mirror of
https://github.com/Xevion/v1.xevion.dev.git
synced 2025-12-06 11:16:52 -06:00
change stream key to static global
This commit is contained in:
@@ -44,7 +44,7 @@ def downloadLimiter():
|
||||
|
||||
# Streams back the specified media back to the client
|
||||
@app.route('/stream/<service>/<mediaid>')
|
||||
@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):
|
||||
|
||||
Reference in New Issue
Block a user