I have encountered an issue in my Umbraco web application where I have two SPA angular applications on pages /pageOne and /pageTwo. Whenever these pages are refreshed, a page not found error occurs due to Umbraco's routing system.
Is there a way to reconfigure the routes so that this error can be avoided?
I found a helpful question on Umbraco 7 single page application routing, but it addresses all URL redirects to Angular whereas I only need to address two specific URLs.
Could a solution involve something like the following code snippet?
<add name="SomeName"
virtualUrl="^~/(? pages-which-are-not-angular-SPA-here )(.*)"
rewriteUrlParameter="ExcludeFromClientQueryString"
destinationUrl="~/"
ignoreCase="true" />