some improvement

This commit is contained in:
2025-05-03 01:22:03 +02:00
parent 42332ac329
commit 26d4613dd1
9 changed files with 80 additions and 28 deletions

View File

@@ -1,6 +1,6 @@
from django.urls import path
from .views import HomeView, download_file, download_torrent, pping
from .views import HomeView, download_file, download_torrent, pping, flux_file
app_name = "torrent"
urlpatterns = [
@@ -8,4 +8,5 @@ urlpatterns = [
path("pping/", pping, name="pping"),
path("download_file/<uuid:file_id>", download_file, name="download_file"),
path("download_torrent/<str:torrent_id>", download_torrent, name="download_torrent"),
path("flux_file/<uuid:file_id>", flux_file, name="flux_file"),
]