Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] When i'm giving full path of model json url still it's appending the current domain with the full url #90

Open
arunannamalai89 opened this issue Oct 17, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@arunannamalai89
Copy link

Describe the bug
In Package.json i removed the proxy configuration and updated my .env.devlopment file for model json with full AEM cloud url as
REACT_APP_PAGE_MODEL_PATH=https://publish-p76602-e663929.adobeaemcloud.com/content/wknd-spa-react/us/en.model.json.
When i'm running my dev environment in my local or in any other cloud, model url is hitting wrongly by concatenating the current domain url with the url which is given in the .env like this ** http://localhost:3000/https://publish-p76602-e663929.adobeaemcloud.com/content/wknd-spa-react/us/en.model.json**

Package version
Latest Package version: 1.4.4

To Reproduce
Steps to reproduce the behavior:

  1. Setup a local environment same like prod environment without proxy in package.json. Because i'm trying to run the same local setup in my cloud machine. In that case, Proxy wont't works there..

Expected behavior
My expectation if , If we give full model json url path in .env file. It should pick that URL in the build and same have to hit while running web in local/in any cloud machine.

@arunannamalai89 arunannamalai89 added the bug Something isn't working label Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant