Commit 415e44f9 authored by Jayaprakash n's avatar Jayaprakash n
Browse files

Issue #SB-29808 debug: Review API failing

Showing with 1 addition and 1 deletion
+1 -1
...@@ -58,7 +58,7 @@ trait LocalizeAssetProcessor extends IProcessor { ...@@ -58,7 +58,7 @@ trait LocalizeAssetProcessor extends IProcessor {
def getUrlWithPrefix(src: String) = { def getUrlWithPrefix(src: String) = {
if (StringUtils.isNotBlank(src) && !src.startsWith("http")) { if (StringUtils.isNotBlank(src) && !src.startsWith("http")) {
if (src.contains("content-plugins/")) PLUGIN_MEDIA_BASE_URL + File.separator + src if (src.contains("content-plugins/")) PLUGIN_MEDIA_BASE_URL + File.separator + src
else if(src.startsWith("assets/")) CONTENT_MEDIA_BASE_URL + File.separator + src else if(src.startsWith("assets")) CONTENT_MEDIA_BASE_URL + File.separator + src
else CONTENT_MEDIA_BASE_URL + src else CONTENT_MEDIA_BASE_URL + src
} else src } else src
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment