Last active
September 11, 2019 21:09
-
-
Save paveltyk/a1f6a4497e167170746b02a0a023f58e to your computer and use it in GitHub Desktop.
Phoenix + React + Heroku + Docker https://medium.com/@paveltyk/phoenix-react-heroku-docker-44d5c4a83ab1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule HealthyskinWeb.Router do | |
use HealthyskinWeb, :router | |
pipeline :api do | |
plug :accepts, ["json"] | |
end | |
scope "/api", HealthyskinWeb do | |
pipe_through :api | |
post "/subscriptions", SubscriptionController, :create | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment