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

Improve headers and fix redirect for analytics iframe #1544

Merged
merged 1 commit into from
Apr 2, 2025

Conversation

Rendez
Copy link
Contributor

@Rendez Rendez commented Apr 1, 2025

  • The iframe was loading with 301, because it was missing the trailing slash
  • Added localhost:3000 to Hugo's HTTP headers for path
  • Remove domain checks, since we have CSP headers for protection
  • Added development domain to headers, alongside staging and prod.

@Rendez Rendez requested a review from jasonbryant84 April 1, 2025 15:07
Copy link

netlify bot commented Apr 1, 2025

Deploy Preview for condescending-goldwasser-91acf0 ready!

Name Link
🔨 Latest commit 43e90f7
🔍 Latest deploy log https://app.netlify.com/sites/condescending-goldwasser-91acf0/deploys/67ece6ec9abb780008d2033c
😎 Deploy Preview https://deploy-preview-1544--condescending-goldwasser-91acf0.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

@jasonbryant84 jasonbryant84 left a comment

Choose a reason for hiding this comment

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

LGTM

@Rendez Rendez force-pushed the fix/merino/analytics-iframe branch from a1deb38 to 43e90f7 Compare April 2, 2025 07:27
@Rendez Rendez merged commit 46f485c into master Apr 2, 2025
4 of 5 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.

2 participants