I am trying to set up a AppEngine flexible (go) backend/api server together with a static frontend.
Ideally i would like to completely decouple the api server from the frontend so was planning to serve all the static files from cloud storage. I have managed to set this up by serving the static files on a subdomain from cloud storage - however, this means that users have to visit the subdomain to retrieve the index.html file.
Does anyone know if it is possible (in e.g. app.yml - but couldnt find anything in the docs here) to get fetch index.html from cloud storage?
I.e. such that:
https://example.com would return index.html from cloud storage https://example.com/api is routed to my appengine service?