AptLarder::Admin::Handler
Serves the embedded HTML/CSS/JS assets for the web UI. Assets are compiled into the binary at build time via Crystal macros.
Constants
CSS = {{ read_file("/tmp/tmp.mLPiMM/src/src/apt_larder/admin/../../assets/admin/style.css") }}
HTML = {{ read_file("/tmp/tmp.mLPiMM/src/src/apt_larder/admin/../../assets/admin/index.html") }}
JS = {{ read_file("/tmp/tmp.mLPiMM/src/src/apt_larder/admin/../../assets/admin/app.js") }}
Instance methods
Serves /admin.js, /admin.css, or the HTML shell for all other paths.
All assets are embedded at compile time — no filesystem access at runtime.