Merge remote-tracking branch 'github/main'

This commit is contained in:
Kumi 2024-11-13 14:26:01 +01:00
commit cf9779b827
Signed by: kumi
GPG key ID: ECBCC9082395383F
2 changed files with 7 additions and 3 deletions

View file

@ -10,4 +10,4 @@ COPY app/ app/
WORKDIR /src/app
CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"]
CMD ["gunicorn", "moneropro.wsgi:application", "--bind", "0.0.0.0:8000"]

View file

@ -15,9 +15,13 @@ Including another URLconf
"""
from django.contrib import admin
from django.urls import path, include
from django.urls import path, include, re_path
from django.conf import settings
from django.views.static import serve
urlpatterns = [
path("admin/", admin.site.urls),
path(r"", include(("charts.urls", "charts"), namespace="charts")),
path("", include(("charts.urls", "charts"), namespace="charts")),
re_path(r"^static/(?P<path>.*)$", serve, {"document_root": settings.STATIC_ROOT}),
]