# Butterbase static frontend (local Miniflare)

This page is served by the `@butterbase/static-frontend-worker` package running inside Miniflare locally — the same `workerd` runtime that serves `*.butterbase.dev` in production.

Drop your SPA's `dist/` contents into the directory mounted at `LOCAL_FRONTEND_ASSETS_DIR` and the worker will serve them with the same SPA fallback semantics prod uses.

Path served: ``

Try a deep path that doesn't exist — the SPA fallback should return this page with status 200:

    curl -sI http://localhost:8787/some/deep/route