purpose to provide sensible defaults for security etc. This might be better as some framework
defmodule MyApp.Browser do
use Raxx.Browser
end
defmodule MyApp.API do
use Raxx.API
end
defmodule MyApp do
use Raxx.Router, [
{%{path: [api | _]}, MyApp.API},
{%{path: _}, MyApp.Browser}
]
end
purpose to provide sensible defaults for security etc. This might be better as some framework