Flashtag CMS API v0.0.1 FlashtagAPI.Plugs.Forward View Source
Use in your app’s Router to forward the request to the Flashtag API Router.
The forwarder fixes the path since the forwarding router strips the matching path before forwarding.
Apply your own pipelines before forwarding. This is where you would add things like auth.
Example
pipeline :api do
# API plugs
end
pipeline :api_auth do
# API Auth plugs
end
scope "/api" do
pipe_through [:api, :api_auth]
forward "/", FlashtagAPI.Plugs.Forward
end