static

Mount frontend assets and ingress-aware static directories.

class bedrock_server_manager.web.static.CachedStaticFiles(*args, cache_bundles=False, **kwargs)

Cache fingerprinted bundles permanently; revalidate mutable assets.

async get_response(path, scope)

Returns an HTTP response, given the incoming path, method and request headers.

bedrock_server_manager.web.static.mount_static(app: FastAPI, themes_path: str) → None

Mount available frontend assets and configured custom themes.