ALwrity + Wordpress + Wix + GSC integration

This commit is contained in:
ajaysi
2025-10-08 17:25:09 +05:30
parent 96b240b8ba
commit 4783c87bec
2 changed files with 238 additions and 13 deletions

View File

@@ -1,21 +1,40 @@
{
"version": 2,
"builds": [
"buildCommand": "cd frontend && npm install && npm run build",
"outputDirectory": "frontend/build",
"framework": null,
"rewrites": [
{
"src": "frontend/package.json",
"use": "@vercel/static-build",
"config": {
"distDir": "build"
}
"source": "/(.*)",
"destination": "/index.html"
}
],
"routes": [
"headers": [
{
"src": "/(.*)",
"dest": "/frontend/$1"
"source": "/(.*)",
"headers": [
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-Frame-Options",
"value": "DENY"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
}
]
},
{
"source": "/static/(.*)",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=31536000, immutable"
}
]
}
],
"env": {
"REACT_APP_ENVIRONMENT": "production"
}
]
}