diff --git a/.gitignore b/.gitignore index 4b95297..438657a 100644 --- a/.gitignore +++ b/.gitignore @@ -13,9 +13,6 @@ dist-ssr *.local .env -# Vercel -.vercel - # Editor directories and files .vscode/* !.vscode/extensions.json diff --git a/vercel.json b/vercel.json deleted file mode 100644 index 77e1a5d..0000000 --- a/vercel.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "$schema": "https://openapi.vercel.sh/vercel.json", - "buildCommand": "npm run build", - "outputDirectory": "dist", - "framework": "vite", - "rewrites": [ - { - "source": "/(.*)", - "destination": "/index.html" - } - ], - "headers": [ - { - "source": "/assets/(.*)", - "headers": [ - { - "key": "Cache-Control", - "value": "public, max-age=31536000, immutable" - } - ] - }, - { - "source": "/(.*\\.(js|css|png|jpg|jpeg|gif|ico|svg|woff|woff2|ttf|eot|webp|avif))", - "headers": [ - { - "key": "Cache-Control", - "value": "public, max-age=31536000, immutable" - } - ] - }, - { - "source": "/sw.js", - "headers": [ - { - "key": "Cache-Control", - "value": "public, max-age=0, must-revalidate" - } - ] - }, - { - "source": "/manifest.webmanifest", - "headers": [ - { - "key": "Cache-Control", - "value": "public, max-age=0, must-revalidate" - } - ] - }, - { - "source": "/(.*)", - "headers": [ - { - "key": "X-Content-Type-Options", - "value": "nosniff" - }, - { - "key": "X-Frame-Options", - "value": "DENY" - }, - { - "key": "X-XSS-Protection", - "value": "1; mode=block" - }, - { - "key": "Referrer-Policy", - "value": "strict-origin-when-cross-origin" - } - ] - } - ] -}