I have 3 angular apps. Configured them to run all 3 in a single App Platform application as 3 components.
App1 is working fine on “/” path. I’ve also added the catchall document so routing on app1 is working.
The issue is that when trying to access “/app2” or “/app3” I receive an blank page (the tab title is shown correctly, but the page is empty).
After pushing to master, the build command are the following ones, so the files are placed correctly:
"build": "ng build && mv dist/app1 app1",
"build": "ng build && mv dist/app2 app2",
"build": "ng build && mv dist/app3 app3"
When trying to access “/app2” or “app3” I also receive the following errors in console.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
I fixed the issue thanks to the DigitalOcean support: