-
Hi, I would like to ask if it is possible to make it running multiple versions of the same app simultaneously? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 3 replies
-
I did not get the question at all. static-web-server --port 80 --root dist/ Now if you try to reach the websites then you should be able to navigate to |
Beta Was this translation helpful? Give feedback.
-
Hi thank you for your answer. Sorry for my bad english :(. I think you answered partly to my question. I want to run multiple versions of the same app simultaneously from the same domain, And i am researching a way how can I do so? I figured out how to build static assets and put them under same dist/* folder, incrementally. Now I am looking for possibility to access those different versions simultaneously. I think on few options: option 1 - through the path like my.site.com/v1 or /v2. If i understood correctly with SWS i could do only option 1? Or is possible to do option 2 as well? can i set a default route if one tries to access / path? |
Beta Was this translation helpful? Give feedback.
-
Related to option 2: We are running couple of micro front ends which are combined in browser when user accesses our site. We have a master app (which basically is a router) which mount or unmount child apps. So When i call from master app child apps i can pass headers to http call, like: |
Beta Was this translation helpful? Give feedback.
-
I've managed to make it work with help of paths.
and i can call these like |
Beta Was this translation helpful? Give feedback.
I've managed to make it work with help of paths.
now my folder structure looks like:
and i can call these like
https://cdn.mysite.com/mf-chat/0.0.1/