submillisecond icon indicating copy to clipboard operation
submillisecond copied to clipboard

Static router doesn't work with `"/"` path

Open tqwewe opened this issue 2 years ago • 0 comments

The following router shows 404 with /index.html, but instead only works with //index.html (with double / prefix).

router! {
    "/" => static_router!("./static")
}

This should be fixed so /index.html matches directly.

tqwewe avatar Sep 28 '22 10:09 tqwewe