feat(api): don't use trailing slashes (#1982)

This commit is contained in:
Jonas L 2022-07-22 17:34:09 +02:00 committed by GitHub
parent 368350b269
commit f08af1f3fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 85 additions and 85 deletions

View file

@ -16,7 +16,7 @@ from .views import (
WebstreamViewSet,
)
router = routers.DefaultRouter()
router = routers.DefaultRouter(trailing_slash=False)
router.register("playlist-contents", PlaylistContentViewSet)
router.register("playlists", PlaylistViewSet)
router.register("schedule", ScheduleViewSet)