Content Delivery API Response for Media URL Returns Absolute URL in RTE Instead of Relative URL
Which Umbraco version are you using?
13.2.2
Bug summary
No configuration is working to remove the absolute URL from media URLs in the Rich Text Editor (RTE) in the content delivery API response.
Tried both below options but not working, still abosolute url appends on media url
"WebRouting": {
"UrlProviderMode": "Relative"
},
"RichTextEditor": {
"CustomConfig": {
"relative_urls": true,
"convert_urls":false
}
},
Steps to reproduce
Create a media item within the Rich Text Editor (RTE) on a content node.
SET Below Configurations In AppSettings.Json
"WebRouting": {
"UrlProviderMode": "Relative"
},
"RichTextEditor": {
"CustomConfig": {
"relative_urls": true,
"convert_urls":false
}
},
Enable the Content Delivery API.
Attempt to fetch the content via Content Delivery API.
Notice that the media URL within the RTE returns as an absolute URL instead of a relative URL.
Expected result / actual result
The Media Url should be Relative in the RTE Response
Content Delivery API Response for Media URL Returns Absolute URL in RTE Instead of Relative URL
Which Umbraco version are you using?
13.2.2
Bug summary
No configuration is working to remove the absolute URL from media URLs in the Rich Text Editor (RTE) in the content delivery API response.
Tried both below options but not working, still abosolute url appends on media url
"WebRouting": { "UrlProviderMode": "Relative" }, "RichTextEditor": { "CustomConfig": { "relative_urls": true, "convert_urls":false } },
Steps to reproduce
"WebRouting": { "UrlProviderMode": "Relative" }, "RichTextEditor": { "CustomConfig": { "relative_urls": true, "convert_urls":false } },
Expected result / actual result
The Media Url should be Relative in the RTE Response
is working on a reply...