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

Custom headers issue on two different hosting environments #3850

Closed
5 tasks done
CCGRegaltest opened this issue Dec 11, 2023 · 3 comments
Closed
5 tasks done

Custom headers issue on two different hosting environments #3850

CCGRegaltest opened this issue Dec 11, 2023 · 3 comments
Labels
archived This issue has been locked. pending-triage

Comments

@CCGRegaltest
Copy link

Before opening, please confirm:

  • I have checked to see if my question is addressed in the FAQ.
  • I have searched for duplicate or closed issues.
  • I have read the guide for submitting bug reports.
  • I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
  • I have removed any sensitive information from my code snippets and submission.

App Id

arn:aws:amplify:ap-northeast-1:476944795571:apps/d33dvg9x53pe0j

AWS Region

ap-northeast-1

Amplify Hosting feature

Custom domain

Frontend framework

Other

Next.js version

N/A

Next.js router

N/A

Describe the bug

My app has 2 environments. One is "main" (for production) and the other one is "staging".
After I created a new custom header by edit the customHttp.yml on AWS portal UI, main will auto take effect immediately about the new headers while staging will take effect until the app be redeployed.
Why there are difference between two environments?

Expected behavior

Both should need redeploy to let them taking effect the new headers.

Reproduction steps

  1. Create new custom headers in AWS Amplify console and Save.
  2. Staging environment takes effect while main will not.

Build Settings

No response

Log output

N/A

Additional information

N/A

@mauerbac
Copy link
Member

Are you able to open a support case so we can look at the exact details of your app? Thank you

Copy link

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.

Copy link

This issue has been automatically locked.

@github-actions github-actions bot added the archived This issue has been locked. label Jun 27, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Jun 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
archived This issue has been locked. pending-triage
Projects
None yet
Development

No branches or pull requests

2 participants