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

Improved firebase configuration by adding security headers(#735) #736

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

abhishekojha06
Copy link

@abhishekojha06 abhishekojha06 commented Oct 19, 2024

Related Issues

#735 #104

this code works for deploying and hosting SPAs built with
frontend frameworks on Firebase Hosting, while handling
multiple environments and including essential security headers in development.

@ymaheshwari1 ymaheshwari1 changed the title improved -Resolved different firebase hosting target (#735) Improved firebase configuration by adding security headers(#735) Oct 20, 2024
Copy link
Contributor

@ymaheshwari1 ymaheshwari1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution @abhishekojha06

Please check the comments below.

@@ -25,7 +25,25 @@
"rewrites": [ {
"source": "**",
"destination": "/index.html"
}]
} ],
"headers": [ {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add the same entry in the other two objects as well (prod and uat).
Also please update the formatting and indentation changes to follow this files pattern.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure I will change.

@ravilodhi ravilodhi merged commit f88b709 into hotwax:main Dec 6, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants