Fix manifest route
This commit is contained in:
@@ -19,7 +19,7 @@ fn main() {
|
|||||||
}
|
}
|
||||||
router!(request,
|
router!(request,
|
||||||
(GET) ["/"] => { index() },
|
(GET) ["/"] => { index() },
|
||||||
(GET) ["manifest.json"] => {
|
(GET) ["/manifest.json"] => {
|
||||||
Response::from_data("application/manifest+json", include_bytes!("manifest.json"))
|
Response::from_data("application/manifest+json", include_bytes!("manifest.json"))
|
||||||
},
|
},
|
||||||
(GET) ["/icon.png"] => {
|
(GET) ["/icon.png"] => {
|
||||||
|
Reference in New Issue
Block a user