Hi all,I've been trying to add another Angular project to my main website (which I already have 2 separate projects implemented correctly for). I've built the dist folders for each of these projects, and have a Lightsail server serving these with the small Express server code I wrote.Right now I have it structured so I have my main site at: [site].com/ and I can access each project via [site].com/[project]/The first two projects have worked flawlessly, I can access these both fine. However, when I got to add my newest project, things start to break. When I have all 3 dist folders in my app, site.com/project1 and site.com/project2 still bring me to the correct destination. However, site.com/project3 will bring me to the site.com/project2 index page even though it maintains the correct base href.I tried removing project 2's dist and then site.com/project3 will bring me to the correct destination again and trying to visit site.com/project2 will correctly say the dist path is missing. Trying to remove project 3's dist will result in site.com/project3 correctly saying its dist is missing as well while projects 1 and 2 work correctly again.I'm really just trying to run through ideas on what could be broken here as I don't even know how to begin debugging this. If more detail or code is needed, let me know, but I'm mostly looking for general ideas on what could be broken right now.Thanks a bunch!
Submitted May 01, 2020 at 04:47PM by RonsterrrrrsBF
No comments:
Post a Comment