Plug_URL_Redirector v0.1.0 PlugUrlRedirector.Static

Static URL redirector.

Summary

Functions

This module Plug redirects the connection regardless of path to the given URL in the content of :external. The redirection return code is 301 (Moved Permanently)

Functions

call(conn, external)

This module Plug redirects the connection regardless of path to the given URL in the content of :external. The redirection return code is 301 (Moved Permanently).

init(opts)