diff --git a/backend/config/urls.py b/backend/config/urls.py index e451c91..a1073a1 100644 --- a/backend/config/urls.py +++ b/backend/config/urls.py @@ -15,7 +15,7 @@ urlpatterns = [ path('api/redoc/', SpectacularRedocView.as_view(url_name='schema'), name='redoc'), ] -# 静态文件配置(开发环境) +# 静态文件配置(开发环境)1 if settings.DEBUG: urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)