feat(pwa): transform auraajenticai.cloud into installable PWA app with client dashboard gateway

This commit is contained in:
Amirul Islam Redwan71
2026-10-09 07:34:40 +06:00
parent 25058e4bac
commit 558e0debac
10 changed files with 649 additions and 43 deletions
+54 -20
View File
@@ -1,6 +1,51 @@
{
"cleanUrls": false,
"trailingSlash": false,
"headers": [
{
"source": "/sw.js",
"headers": [
{
"key": "Cache-Control",
"value": "no-cache, no-store, must-revalidate"
},
{
"key": "Service-Worker-Allowed",
"value": "/"
}
]
},
{
"source": "/manifest.json",
"headers": [
{
"key": "Content-Type",
"value": "application/manifest+json; charset=utf-8"
},
{
"key": "Cache-Control",
"value": "public, max-age=3600"
}
]
},
{
"source": "/(.*)",
"headers": [
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "Referrer-Policy",
"value": "strict-origin-when-cross-origin"
}
]
}
],
"rewrites": [
{
"source": "/privacy",
@@ -19,27 +64,16 @@
"destination": "/terms.html"
},
{
"source": "/((?!privacy|terms).*)",
"destination": "/index.html"
}
],
"headers": [
"source": "/manifest.json",
"destination": "/manifest.json"
},
{
"source": "/(.*)",
"headers": [
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "Referrer-Policy",
"value": "strict-origin-when-cross-origin"
}
]
"source": "/sw.js",
"destination": "/sw.js"
},
{
"source": "/((?!privacy|terms|manifest\\.json|sw\\.js|.*\\.(?:png|jpg|jpeg|svg|ico|json|js|css|webmanifest)).*)",
"destination": "/index.html"
}
]
}