neutralts::constants

Constant REDIR_JS_REDIRECT_SELF

Source
pub const REDIR_JS_REDIRECT_SELF: &str = "<!DOCTYPE html><script>self.location.href='{}';</script>";
Expand description

JavaScript script that redirects to a new URL in the self page, used in {:redirect; The placeholder ‘{}’ should be replaced with the destination url.