diff --git a/B_main/urls.py b/B_main/urls.py index 0150be3..8857691 100644 --- a/B_main/urls.py +++ b/B_main/urls.py @@ -16,5 +16,5 @@ urlpatterns = [ path('privacy-policy/', views.privacy_policy, name='privacy_policy'), ] -if settings.DEBUG: - urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) \ No newline at end of file +# 미디어 파일 서빙 (개발 및 프로덕션 환경 모두) +urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) \ No newline at end of file