Raxx.Static

Raxx middleware for serving static content.

Hex pm Build Status License

Getting Started

Add routes for static assets to any server module.

defmodule MyApp.WWW do
  use Raxx.Server
  use Raxx.Static, "./public"

  @impl Raxx.Server
  def handle_request(request, state) do
  # ...
end