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

Throw a warning if Traffic Cop is performing redirects when loaded in the <body> #22

Open
alexgibson opened this issue Aug 3, 2022 · 0 comments

Comments

@alexgibson
Copy link
Member

See mozilla/bedrock#11998 for context

Traffic Cop should only be loaded in the <body> when performing a callback. When performing a redirect, it should be loaded in the <head>.

It would be nice to try and warn developers in the console if they are trying to redirect when loaded in the <body>.

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

No branches or pull requests

1 participant