Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save trnktms/9e32d043dea76ece6193238e5636fb1f to your computer and use it in GitHub Desktop.
Save trnktms/9e32d043dea76ece6193238e5636fb1f to your computer and use it in GitHub Desktop.
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:role="http://www.sitecore.net/xmlconfig/role/" xmlns:search="http://www.sitecore.net/xmlconfig/search/">
<sitecore>
<layoutService>
<publishWebHooks type="Sitecore.JavaScriptServices.AppServices.WebHooks.WebHooks, Sitecore.JavaScriptServices.AppServices">
<hooks hint="list:AddWebHook">
<hook type="Sitecore.JavaScriptServices.AppServices.WebHooks.WebHookDefinition, Sitecore.JavaScriptServices.AppServices">
<name>RenderingHostOutputCacheClear1</name>
<url>https://www.renderinhost1.localhost/api/outputcache/clear</url>
<method>GET</method>
<site>Discovering.Sitecore101</site>
</hook>
<hook type="Sitecore.JavaScriptServices.AppServices.WebHooks.WebHookDefinition, Sitecore.JavaScriptServices.AppServices">
<name>RenderingHostOutputCacheClear2</name>
<url>https://www.renderinhost2.localhost/api/outputcache/clear</url>
<method>GET</method>
<site>Discovering.Sitecore101</site>
</hook>
</hooks>
</publishWebHooks>
</layoutService>
</sitecore>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment