try to improve support for PWA on iOS
This commit is contained in:
@ -124,6 +124,10 @@ nextApp
|
||||
next();
|
||||
});
|
||||
server.use("/favicon.ico", express.static("public/favicon.png"));
|
||||
// serve the same image for pwa-192x192.png and pwa-512x512.png
|
||||
server.use("/pwa-192x192.png", express.static("public/favicon.png"));
|
||||
server.use("/pwa-512x512.png", express.static("public/favicon.png"));
|
||||
server.use("/manifest.json", express.static("public/manifest.json"));
|
||||
//all static files are served from the public folder, including subfolders
|
||||
server.use(express.static("public")); //ToDo: not working for some reason
|
||||
// server.use("/robots.txt", express.static("styles/favicon_io/robots.txt"));
|
||||
|
Reference in New Issue
Block a user