Fix manifest route

This commit is contained in:
2024-12-02 08:54:31 -08:00
parent bee9f949d4
commit 18c94e95c7

View File

@@ -19,7 +19,7 @@ fn main() {
}
router!(request,
(GET) ["/"] => { index() },
(GET) ["manifest.json"] => {
(GET) ["/manifest.json"] => {
Response::from_data("application/manifest+json", include_bytes!("manifest.json"))
},
(GET) ["/icon.png"] => {