mirror of
https://git.ethanthesleepy.one/ethanaobrien/ew
synced 2026-07-14 01:32:19 +08:00
Fix asset fallthrough on api paths
This commit is contained in:
@@ -209,6 +209,7 @@ pub async fn request(req: HttpRequest, body: String) -> HttpResponse {
|
||||
}
|
||||
|
||||
pub fn configure(cfg: &mut actix_web::web::ServiceConfig) {
|
||||
cfg.configure(crate::static_handlers::routes);
|
||||
cfg.service(
|
||||
actix_web::web::scope("/api")
|
||||
.configure(asset_lists::routes)
|
||||
|
||||
Reference in New Issue
Block a user