We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi there,
We are deploying our custom Saleor App on AWS Amplify. For some reason, the manifest reads wrong base URLs.
Generated app manifest
... appUrl: "https://prod.eu-west-3.gateway.amplify.aws.dev" tokenTargetUrl: "https://prod.eu-west-3.gateway.amplify.aws.dev/api/register"
Correct URL should read https://test-supreetha.ds7pxky06vb7t.amplifyapp.com which is the Amplify app default URL.
https://test-supreetha.ds7pxky06vb7t.amplifyapp.com
We also use the env variables, and we see that these are loaded well during the build.
APP_IFRAME_BASE_URL=https://test-supreetha.ds7pxky06vb7t.amplifyapp.com APP_API_BASE_URL=https://test-supreetha.ds7pxky06vb7t.amplifyapp.com
I'm waiting for an answer from aws amplify-hosting, meanwhile I thought I'll ask here as well.
How and when is the app base URL assigned?
Any thoughts? Thank you!
The text was updated successfully, but these errors were encountered:
Hi
not sure which app are you deploying, but check your src/pages/api/manifest.ts function
src/pages/api/manifest.ts
it contains tokenTargetUrl field. Its set to ${apiBaseURL}/api/register by default, because the app has another function - pages/api/register.ts
tokenTargetUrl
${apiBaseURL}/api/register
pages/api/register.ts
If you have different path for register endpoint (or e.g. use rewrite), just update this path
Sorry, something went wrong.
No branches or pull requests
Hi there,
We are deploying our custom Saleor App on AWS Amplify. For some reason, the manifest reads wrong base URLs.
Generated app manifest
Correct URL should read
https://test-supreetha.ds7pxky06vb7t.amplifyapp.com
which is the Amplify app default URL.
We also use the env variables, and we see that these are loaded well during the build.
I'm waiting for an answer from aws amplify-hosting, meanwhile I thought I'll ask here as well.
How and when is the app base URL assigned?
Any thoughts? Thank you!
The text was updated successfully, but these errors were encountered: