Skip to content

Commit d9bf38d

Browse files
committed
fix: minor
Signed-off-by: SaJH <wogur981208@gmail.com>
1 parent f9aacc3 commit d9bf38d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

app/core/urls.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
import core.health_check
1919
from django.conf import settings
20+
from django.conf.urls.static import static
2021
from django.contrib import admin
2122
from django.urls import include, path, re_path, resolvers
2223
from drf_spectacular.views import SpectacularAPIView, SpectacularSwaggerView
@@ -32,7 +33,7 @@
3233
path("admin/", admin.site.urls),
3334
# V1 API
3435
re_path("^v1/", include((v1_apis, "v1"), namespace="v1")),
35-
]
36+
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
3637

3738
if settings.DEBUG:
3839
urlpatterns += [

0 commit comments

Comments
 (0)