Skip to main content

Module static_routes

Module static_routes 

Source
Expand description

Static-asset routes for AllowThem-owned browser JS.

Mounted at /__allowthem/static/ in both embedded and standalone modes. All assets are embedded in the binary via include_bytes! so integrators don’t need to vendor anything themselves.

Functions§

router
Build the static-asset router. Mount it at /__allowthem/static/.