diff --git a/tubearchivist/home/urls.py b/tubearchivist/home/urls.py index 4a319bb..6ff1670 100644 --- a/tubearchivist/home/urls.py +++ b/tubearchivist/home/urls.py @@ -19,7 +19,7 @@ urlpatterns = [ path("downloads/", DownloadView.as_view(), name="downloads"), path("settings/", SettingsView.as_view(), name="settings"), path("process/", views.process, name="process"), - path("downloads/progress", views.progress, name="progress"), + path("downloads/progress/", views.progress, name="progress"), path("channel/", ChannelView.as_view(), name="channel"), path( "channel//", diff --git a/tubearchivist/static/progress.js b/tubearchivist/static/progress.js index 331b1f7..d69e0d6 100644 --- a/tubearchivist/static/progress.js +++ b/tubearchivist/static/progress.js @@ -32,7 +32,7 @@ function handleInterval() { var watchDownload = setInterval(function() { var req = new XMLHttpRequest(); req.responseType = 'json'; - req.open('GET', '/downloads/progress', true); + req.open('GET', '/downloads/progress/', true); req.onload = function() { var dlProgress = req.response; if (dlProgress['status']) {