Skip to content

Commit

Permalink
ui.urls: Fetch the correct stats and generated files in debug webserver
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjwebb committed Feb 11, 2025
1 parent b2dcc28 commit 104dd9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iati_dashboard/ui/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@
),
re_path(r"org_type\/\S*.html", RedirectView.as_view(pattern_name="dash-exploringdata-orgids", permanent=True)),
]
+ static("generated", document_root="../out")
+ static("stats", document_root="../stats-calculated")
+ static("generated", document_root="out")
+ static("stats", document_root="stats-calculated")
)
# ^ Serve generated files when using runserver for development

0 comments on commit 104dd9c

Please sign in to comment.