Embed assets into the binary
Some checks failed
/ publish (push) Has been cancelled

This commit is contained in:
Juno Takano 2026-03-10 20:52:08 -03:00
commit 8c20597350
31 changed files with 1321 additions and 89 deletions

View file

@ -33,7 +33,8 @@ pub fn new(graph: Graph) -> Router {
.route("/graph/{format}", get(handlers::fixed::serial))
.route("/search", get(handlers::navigation::search))
.route("/redirect", get(handlers::navigation::redirect))
.route("/static/{*path}", get(handlers::fixed::file));
.route("/static/{*path}", get(handlers::fixed::file))
.route("/legal", get(handlers::navigation::legal));
if state.graph.meta.config.tree {
router = router.route("/tree", get(handlers::navigation::tree));