mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 07:19:15 +02:00
Fixed compat with iTunes
This commit is contained in:
parent
c70135c9e3
commit
c96fd5d539
6 changed files with 95 additions and 35 deletions
|
@ -1,7 +1,7 @@
|
|||
from rest_framework.routers import SimpleRouter
|
||||
from rest_framework.routers import DefaultRouter
|
||||
|
||||
|
||||
class OptionalSlashRouter(SimpleRouter):
|
||||
class OptionalSlashRouter(DefaultRouter):
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self.trailing_slash = "/?"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue