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

[hma] Bad redirects on dev page #1591

Closed
sbruens opened this issue May 22, 2024 · 1 comment · Fixed by #1592
Closed

[hma] Bad redirects on dev page #1591

sbruens opened this issue May 22, 2024 · 1 comment · Fixed by #1592

Comments

@sbruens
Copy link
Collaborator

sbruens commented May 22, 2024

The dev handlers (e.g. /dev/factory_reset) redirect to /dev/ which doesn't exist. It makes it seem like the action failed, when it's just the redirect that is bad. Example here:

I think it can be done with redirect(url_for(ui.bp.home))? Let me give it a try and send a PR.

@Dcallies
Copy link
Contributor

Might be a breakage from when I moved this out of /ui/ where this redirect made sense. I think your fix looks right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants