CoolFace
Apppublic

DavidL72Code/UMB_Sustainable_Chatbot

sourceHugging Faceupdated 5d agoView on Hugging Face
0likes
vercel.json52 linesDownload Raw Back to frontend
1{2  "$schema": "https://openapi.vercel.sh/vercel.json",3  "cleanUrls": true,4  "trailingSlash": false,5  "headers": [6    {7      "source": "/static/(.*)",8      "headers": [9        {10          "key": "Cache-Control",11          "value": "public, max-age=3600, must-revalidate"12        }13      ]14    },15    {16      "source": "/(.*)",17      "headers": [18        {19          "key": "Content-Security-Policy",20          "value": "default-src 'self'; base-uri 'self'; frame-ancestors 'none'; object-src 'none'; img-src 'self' data: https://www.umb.edu; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; script-src 'self' 'unsafe-inline'; connect-src 'self'; form-action 'self'; upgrade-insecure-requests"21        },22        {23          "key": "Strict-Transport-Security",24          "value": "max-age=31536000; includeSubDomains"25        },26        {27          "key": "X-Content-Type-Options",28          "value": "nosniff"29        },30        {31          "key": "X-Frame-Options",32          "value": "DENY"33        },34        {35          "key": "Referrer-Policy",36          "value": "strict-origin-when-cross-origin"37        },38        {39          "key": "Permissions-Policy",40          "value": "camera=(), microphone=(), geolocation=()"41        }42      ]43    }44  ],45  "rewrites": [46    {47      "source": "/api/:path*",48      "destination": "https://davidl72code-umb-sustainable-chatbot.hf.space/api/:path*"49    }50  ]51}52