Skip to content

Commit

Permalink
fix(blockstore-filesystem): use CMS's MEDIA_ROOT instead of LMS's
Browse files Browse the repository at this point in the history
  • Loading branch information
kdmccormick committed Oct 25, 2023
1 parent 28ec01d commit 45047df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
BUNDLE_ASSET_STORAGE_SETTINGS = dict(STORAGE_CLASS="django.core.files.storage.FileSystemStorage", STORAGE_KWARGS=dict(location="/openedx/media/blockstore/", base_url="{{ "https" if ENABLE_HTTPS else "http" }}://{{ LMS_HOST }}/media/blockstore/"))
BUNDLE_ASSET_STORAGE_SETTINGS = dict(STORAGE_CLASS="django.core.files.storage.FileSystemStorage", STORAGE_KWARGS=dict(location=f"{MEDIA_ROOT}blockstore/", base_url=f"{MEDIA_URL}blockstore/"))

0 comments on commit 45047df

Please sign in to comment.