servant/Cargo.toml
Andrew nuark G 85de86f835 fix: ensure domain-based index rewriting works for SPAs
Previously, SPA routes (e.g. `/dashboard`) bypassed custom index rewriting
logic due to `actix_files` intercepting requests before the fallback handler.
This hotfix reorders route registration and introduces explicit handling for
unmatched paths and root (/) to support React-style routing with domain-specific
index.html rewrites.
2025-05-05 23:58:18 +07:00

12 lines
248 B
TOML

[package]
name = "servant"
version = "0.2.1"
edition = "2021"
authors = ["Andrew G. <me@nuark.xyz>"]
[dependencies]
actix-web = "4.7.0"
actix-files = "0.6.6"
clap = { version = "4.5.7", features = ["derive"] }
env_logger = "0.11.8"
log = "0.4.27"