mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-01-23 02:35:14 +00:00
Initial backend commit for vod
This commit is contained in:
parent
1c47b7f84a
commit
84aa631196
17 changed files with 1393 additions and 1 deletions
|
|
@ -28,6 +28,7 @@ INSTALLED_APPS = [
|
|||
"apps.output",
|
||||
"apps.proxy.apps.ProxyConfig",
|
||||
"apps.proxy.ts_proxy",
|
||||
"apps.vod.apps.VODConfig",
|
||||
"core",
|
||||
"daphne",
|
||||
"drf_yasg",
|
||||
|
|
|
|||
|
|
@ -65,6 +65,9 @@ urlpatterns = [
|
|||
path("redoc/", schema_view.with_ui("redoc", cache_timeout=0), name="schema-redoc"),
|
||||
# Optionally, serve the raw Swagger JSON
|
||||
path("swagger.json", schema_view.without_ui(cache_timeout=0), name="schema-json"),
|
||||
# VOD
|
||||
path("api/vod/", include("apps.vod.urls")),
|
||||
path("proxy/vod/", include("apps.proxy.vod_proxy.urls")),
|
||||
# Catch-all routes should always be last
|
||||
path("", TemplateView.as_view(template_name="index.html")), # React entry point
|
||||
path("<path:unused_path>", TemplateView.as_view(template_name="index.html")),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue