fixed image path construction

This commit is contained in:
dreng
2023-06-03 23:04:47 +02:00
parent 0a86d2bbea
commit 8f520f9a6a
9 changed files with 784 additions and 11 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ else:
def image_static_url(path: Path) -> str:
return settings.BASE_PATH + static(
return static(
f"/{path.relative_to(Path(settings.STATIC_ROOT))}"
)