from django.urls import path
from . import views

urlpatterns = [
    path('', views.view_file, name='view-file'),
    path('get-m3u8/<m3u8_id>/', views.get_m3u8, name='get-m3u8-file'),
    path('get-video/<m3u8_id>/<ts_filename>', views.get_video, name='get-ts-file'),
]

from django.urls import path
from . import views

urlpatterns = [
    path('', views.view_file, name='view-file'),
    path('get-m3u8/<m3u8_id>/', views.get_m3u8, name='get-m3u8-file'),
    path('get-video/<m3u8_id>/<ts_filename>', views.get_video, name='get-ts-file'),
]
