We are trying to serve a angular project from cloud storage via cloud CDN using a load balancer. We have configured a load balancer and a cloud storage bucket backend which is pointing to static content having the build artifact of an angular project. We are able to access the angular project, by hitting the load balancer http:///index.html, which in turn redirects to angular project dashboard with route path "/dashboard".
Now, when I refresh, the output comes with an error as shown below
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Error>
<Code> NoSuchKey </Code>
<Message> The specified key does not exist. </Message>
</Error>
It seems it is looking for file name /dashboard file which is not our project.
Is there any way we can set the default root to "index.html" which will fix it ?