I have single page react app on AWS (content being served from S3 origin through cloud front distribution via registered public domain name). We are wanting to add a context root to the url that is being used to get to the index.html (so the app).
Current url - https://host.com/init
Desired url - https://host.com/contextRoot/init
What are the ideas to achieve this type of url (with context root)? I believe the context root can not be added/mapped in cloud front or the public domain registry itself. If that is the case, what are the options ? Suggestions please.
The use case is that callers of the app come in with that context root in the url.