iron / iron/mount

How you target all routes?

Open
#97 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
50
Forks
37
PR merge metrics
No merged PRs in 30d

Description

I want to target all routes and that just doesnt seem to work.
All of the below do not work.
`mount.mount("/*", Static::new(Path::new("public")));`
`mount.mount("*", Static::new(Path::new("public")));`
`mount.mount("**", Static::new(Path::new("public")));`
`mount.mount("/(.*)", Static::new(Path::new("public")));`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.