Allow down to 2 char IDs

This commit is contained in:
Laszlo Zeke 2019-06-17 20:12:00 +02:00
parent 8b3b098166
commit 246ae47c80
1 changed files with 2 additions and 2 deletions

View File

@ -200,6 +200,6 @@ class RSSVoDServerOnlyVoD(RSSVoDServer):
app = webapp2.WSGIApplication([
Route('/', MainPage),
Route('/vod/<channel:[a-zA-Z0-9_]{4,25}>', RSSVoDServer),
Route('/vodonly/<channel:[a-zA-Z0-9_]{4,25}>', RSSVoDServerOnlyVoD)
Route('/vod/<channel:[a-zA-Z0-9_]{2,25}>', RSSVoDServer),
Route('/vodonly/<channel:[a-zA-Z0-9_]{2,25}>', RSSVoDServerOnlyVoD)
], debug=False)