diff --git a/conf/urls.py b/conf/urls.py index a0d3dae..0fa3469 100644 --- a/conf/urls.py +++ b/conf/urls.py @@ -9,10 +9,11 @@ if settings.PATH_URL: # settings.PATH_URL is the $YNH_APP_ARG_PATH # Prefix all urls with "PATH_URL": urlpatterns = [ - path(f'{settings.PATH_URL}/', admin.site.urls), path(f'{settings.PATH_URL}/media//', UserMediaView.as_view()), # TODO: https://github.com/jedie/django-for-runners/issues/25 # path(settings.MEDIA_URL.lstrip('/'), include('django_tools.serve_media_app.urls')), + + path(f'{settings.PATH_URL}/', admin.site.urls), ] else: # Installed to domain root, without a path prefix