Skip to content

ui_asset_dir

ui_asset_dir()

Return the on-disk directory of the shipped moderatorim.ui assets.

Resolved via importlib.resources so it works from an installed wheel, not just a source checkout. A host mounts this directory at a URL it owns (e.g. /static/ui).