[IMP] BASE: [UPDT] BASE: Updated the media handling for resricting unautherized use of media files
This commit is contained in:
@@ -44,5 +44,5 @@ urlpatterns = [
|
||||
path("health/", health_check),
|
||||
]
|
||||
|
||||
if settings.DEBUG:
|
||||
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
||||
# if settings.DEBUG:
|
||||
# urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
||||
|
||||
Reference in New Issue
Block a user