I uploaded angular app "dist" folder into Azure blob storage.
I can run index.html from inside the blob, and it will run application.
Now, I want to create some Azure proxy function that will redirect to this blob and will run angular app.
But when I run this proxy, I get exception:
error_handler.js:48 EXCEPTION: Uncaught (in promise): SecurityError: Failed to execute 'replaceState' on 'History': A history state object with URL 'StorageUrl/ContainerName/' cannot be created in a document with origin 'FunctionUrl' and URL 'FunctionUrl/ContainerName'. Error: Failed to execute 'replaceState' on 'History': A history state object with URL 'StorageUrl/ContainerName/' cannot be created in a document with origin 'FunctionUrl' and URL 'FunctionUrl/ContainerName'.
Does anyone saw this error?