erikras / erikras/react-redux-universal-hot-example
Add global variables for sub-folder routing
- Dominant language
- JavaScript
- Stars
- 12.1k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
I am working on multiple applications which will be hosted under the same domain name.
for eg. `http://example.com/hotels` (standalone react app), `http://example.com/coupons` (another standalone react app) etc.
In development we used url structure to route to url `http://localhost:3000/*` and now in production the urls to redirect to `http://example.com/*` which thus breaks the app since in production it should be like `http://example.com/hotels/*`
Are there any changes i can make to this starter kit such that all urls get a placeholder value added to the them....
or will i have to individually change all urls from `/*` to `/hotels(app-name)`
Contributor guide
Assessment
This issue has not been assessed yet.