Deploy VueJS static website to Google Storage – URL Rewrite


This Content is from Stack Overflow. Question asked by Geovane

I have a app that is hosted in Compute Engine VM, both frontend and backend(https://<> We are migrating this app to serverless architecture using Vue3, and JS(Cloud Run).

During this migration phase new features will be deployed under a diffent URL, such as https://<>, so in my Load Balancer I added a route pointing /a/* to a specific Bucket I have created with all my assets.

I didn’t manage to setup my routes to find index.html by default. It seems they are looking for specific folders or assets in the bucket.

Any ideas?


This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.

This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?