Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How to remove "/app" suffix from my Catalyst application URL

I have uploaded Web app to Catalyst Web client hosting and I have mapped my custom domain to that application. But when I load my custom domain the app url is getting shown as "{custom_domain}/app".

For example if my domain name is www.example.com, the app url is getting loaded as https://www.example.com/app/. I want to remove that "/app" suffix from my application, can someone help me acheive this?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

You can hide the "/app" suffix from your application URL by adding the below API rule in the Catalyst’s API Gateway feature. You can find the official help documentation for API Gateway here.

Request Method: GET

Request URL: /{path1:(.*)}

Target: Web Client Hosting

Target URL: /app/{path1}

The above API rule will allow the request URL to load the "Domain Homepage" without the "/app/" suffix from user perspective but in the actual scenario it loads the custom domain with the "/app/" when you make a request to your custom domain.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading