diff --git a/frontend/index.html b/frontend/index.html
index 7e9610d..e504d5a 100644
--- a/frontend/index.html
+++ b/frontend/index.html
@@ -5,13 +5,9 @@
- ">
" sizes="32x32">
" sizes="16x16">
-
-
-
" color="#5bbad5">
Canapé
diff --git a/frontend/js/app.js b/frontend/js/app.js
index 497f881..495b560 100644
--- a/frontend/js/app.js
+++ b/frontend/js/app.js
@@ -2,7 +2,6 @@
import "../img/noimage.png"
// Import favicon settings
-import "../img/apple-touch-icon.png"
import "../img/favicon-16x16.png"
import "../img/favicon-32x32.png"
import "../img/favicon.ico"
diff --git a/webpack.config.js b/webpack.config.js
index bc8f4ba..9b1fa4a 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -76,15 +76,22 @@ const config = {
new CleanWebpackPlugin({
cleanOnceBeforeBuildPatterns: ["**/*", "!img/**/*", "!img"],
}),
+ new HtmlWebpackPlugin({
+ template: path.join(SRC_DIR, "../index.html"),
+ }),
new WebpackPwaManifest({
- fingerprints: false,
- inject: false,
+ fingerprints: true,
+ inject: true,
+ ios: {
+ "apple-mobile-web-app-status-bar-style": "default",
+ "apple-mobile-web-app-title": "Canapé",
+ },
name: "Canapé",
short_name: "Canapé",
background_color: "#4e5d6c",
theme_color: "#4e5d6c",
display: "standalone",
- orientation: "portrait",
+ orientation: "omit",
scope: "/",
start_url: "/",
icons: [
@@ -92,11 +99,13 @@ const config = {
src: path.resolve(__dirname, "frontend/img/android-chrome-512x512.png"),
sizes: [96, 128, 192, 256, 384, 512],
},
+ {
+ src: path.resolve(__dirname, "frontend/img/apple-touch-icon.png"),
+ sizes: [80, 120, 152, 167, 180],
+ ios: true
+ },
],
}),
- new HtmlWebpackPlugin({
- template: path.join(SRC_DIR, "../index.html"),
- }),
],
resolve: {
extensions: [".js"],