diff --git a/angular.json b/angular.json
index edace0f..532abd0 100644
--- a/angular.json
+++ b/angular.json
@@ -175,26 +175,6 @@
},
"extract-i18n": {
"builder": "@angular/build:extract-i18n"
- },
- "test": {
- "builder": "@angular/build:karma",
- "options": {
- "polyfills": [
- "zone.js",
- "zone.js/testing"
- ],
- "tsConfig": "tsconfig.spec.json",
- "inlineStyleLanguage": "scss",
- "assets": [
- {
- "glob": "**/*",
- "input": "public"
- }
- ],
- "styles": [
- "src/styles.scss"
- ]
- }
}
}
}
diff --git a/nginx.conf b/nginx.conf
index 31d17f3..53427b3 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -36,6 +36,9 @@ server {
add_header X-Frame-Options "SAMEORIGIN" always;
add_header X-Content-Type-Options "nosniff" always;
add_header X-XSS-Protection "1; mode=block" always;
+ add_header Referrer-Policy "strict-origin-when-cross-origin" always;
+ add_header Permissions-Policy "camera=(), microphone=(), geolocation=()" always;
+ add_header Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://telegram.org; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; img-src 'self' data: https:; connect-src 'self' https:; frame-src https://telegram.org;" always;
# Brotli compression (if available)
# brotli on;
diff --git a/public/icons/icon-192x192.png b/public/icons/icon-192x192.png
new file mode 100644
index 0000000..459b484
Binary files /dev/null and b/public/icons/icon-192x192.png differ
diff --git a/public/icons/icon-512x512.png b/public/icons/icon-512x512.png
new file mode 100644
index 0000000..a6f2cf7
Binary files /dev/null and b/public/icons/icon-512x512.png differ
diff --git a/public/manifest.novo.webmanifest b/public/manifest.novo.webmanifest
index f4f3de0..6282b05 100644
--- a/public/manifest.novo.webmanifest
+++ b/public/manifest.novo.webmanifest
@@ -1,5 +1,4 @@
{
- "$schema": "./node_modules/@angular/service-worker/config/schema.json",
"name": "Novo Market - Интернет-магазин",
"short_name": "Novo",
"description": "Novo Market - ваш онлайн магазин качественных товаров с доставкой",
@@ -12,34 +11,10 @@
"categories": ["shopping", "lifestyle"],
"icons": [
{
- "src": "icons/icon-72x72.png",
- "sizes": "72x72",
- "type": "image/png",
- "purpose": "maskable any"
- },
- {
- "src": "icons/icon-96x96.png",
- "sizes": "96x96",
- "type": "image/png",
- "purpose": "maskable any"
- },
- {
- "src": "icons/icon-128x128.png",
- "sizes": "128x128",
- "type": "image/png",
- "purpose": "maskable any"
- },
- {
- "src": "icons/icon-144x144.png",
- "sizes": "144x144",
- "type": "image/png",
- "purpose": "maskable any"
- },
- {
- "src": "icons/icon-152x152.png",
- "sizes": "152x152",
- "type": "image/png",
- "purpose": "maskable any"
+ "src": "assets/images/novo-favicon.svg",
+ "sizes": "any",
+ "type": "image/svg+xml",
+ "purpose": "any"
},
{
"src": "icons/icon-192x192.png",
@@ -47,12 +22,6 @@
"type": "image/png",
"purpose": "maskable any"
},
- {
- "src": "icons/icon-384x384.png",
- "sizes": "384x384",
- "type": "image/png",
- "purpose": "maskable any"
- },
{
"src": "icons/icon-512x512.png",
"sizes": "512x512",
diff --git a/public/manifest.webmanifest b/public/manifest.webmanifest
index 8a957bb..a267a6d 100644
--- a/public/manifest.webmanifest
+++ b/public/manifest.webmanifest
@@ -11,34 +11,10 @@
"categories": ["shopping", "marketplace"],
"icons": [
{
- "src": "icons/icon-72x72.png",
- "sizes": "72x72",
- "type": "image/png",
- "purpose": "maskable any"
- },
- {
- "src": "icons/icon-96x96.png",
- "sizes": "96x96",
- "type": "image/png",
- "purpose": "maskable any"
- },
- {
- "src": "icons/icon-128x128.png",
- "sizes": "128x128",
- "type": "image/png",
- "purpose": "maskable any"
- },
- {
- "src": "icons/icon-144x144.png",
- "sizes": "144x144",
- "type": "image/png",
- "purpose": "maskable any"
- },
- {
- "src": "icons/icon-152x152.png",
- "sizes": "152x152",
- "type": "image/png",
- "purpose": "maskable any"
+ "src": "assets/images/dexar-favicon.svg",
+ "sizes": "any",
+ "type": "image/svg+xml",
+ "purpose": "any"
},
{
"src": "icons/icon-192x192.png",
@@ -46,12 +22,6 @@
"type": "image/png",
"purpose": "maskable any"
},
- {
- "src": "icons/icon-384x384.png",
- "sizes": "384x384",
- "type": "image/png",
- "purpose": "maskable any"
- },
{
"src": "icons/icon-512x512.png",
"sizes": "512x512",
diff --git a/src/app/app.html b/src/app/app.html
index 775fccf..882d9e9 100644
--- a/src/app/app.html
+++ b/src/app/app.html
@@ -12,10 +12,10 @@
} @else {