mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-06 19:34:15 -05:00
previously we were issuing a flask redirect (302) from the function, which we then attempted to unpack as a dict further down the line. raise a werkzeug.routing.RequestRedirect (301 MOVED PERMANENTLY) instead. note: only use this pattern when the URL they attempted to access will *NEVER* be valid, as 301s are cached by browsers.