Skip to content

Commit fcc1150

Browse files
author
Tim Geyssens
committed
Updates server vars with embedApiBaseUrl
1 parent 23d9944 commit fcc1150

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Umbraco.Web/Editors/BackOfficeController.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,10 @@ public JavaScriptResult ServerVariables()
110110
{"manifestAssetList", Url.Action("GetManifestAssetList", "BackOffice")},
111111
{"serverVarsJs", Url.Action("Application", "BackOffice")},
112112
//API URLs
113+
{
114+
"embedApiBaseUrl", Url.GetUmbracoApiServiceBaseUrl<RteEmbedController>(
115+
controller => controller.GetEmbed("",0,0))
116+
},
113117
{
114118
"contentApiBaseUrl", Url.GetUmbracoApiServiceBaseUrl<ContentController>(
115119
controller => controller.PostSave(null))

0 commit comments

Comments
 (0)