diff options
Diffstat (limited to 'lib/matrix_app_service_web/router.ex')
-rw-r--r-- | lib/matrix_app_service_web/router.ex | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/matrix_app_service_web/router.ex b/lib/matrix_app_service_web/router.ex new file mode 100644 index 0000000..3a24510 --- /dev/null +++ b/lib/matrix_app_service_web/router.ex @@ -0,0 +1,11 @@ +defmodule MatrixAppServiceWeb.Router do + use MatrixAppServiceWeb, :router + + pipeline :api do + plug :accepts, ["json"] + end + + scope "/api", MatrixAppServiceWeb do + pipe_through :api + end +end |