Skip to Content
Apr 26, 2020 at 02:46 PM

Creating a generic endpoint for JS Storefront



We are using the standard URL starts with "https://jsaaps.." to access the JS Storefront that we have developed.

This works in both development (d1) and in staging(s1) environment.

Before going live, we would like to change the URL to a generic one.

We have created a new endpoint and mapped the existing JS Storefront to the Service attribute of the new endpoint.

After this, there is an inconsistency is site's behaviour and the content APIs are failing. After multiple page refresh, it works.

I am not sure that the new endpoint creation requires a deployment. But I have tried a deployment also. I am still facing the inconsistency.

Please suggest and let me know if I am missing anything while configuring a new generic endpoint.