fix: render library assets named xblock-
The previous pattern for matching was too broad and would break the rendering of assets that were prefixed with "xblock".
This commit is contained in:
committed by
GitHub
parent
9d9a68528f
commit
eadf5e2d79
@@ -11,7 +11,7 @@ from opaque_keys.edx.locator import AssetLocator
|
||||
from xmodule.contentstore.content import StaticContent
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
XBLOCK_STATIC_RESOURCE_PREFIX = '/static/xblock'
|
||||
XBLOCK_STATIC_RESOURCE_PREFIX = '/static/xblock/'
|
||||
|
||||
|
||||
def _url_replace_regex(prefix):
|
||||
|
||||
Reference in New Issue
Block a user