Merge branch 'dev'
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
"lint": "eslint ."
|
||||
},
|
||||
"dependencies": {
|
||||
"@studio-freight/lenis": "^1.0.14",
|
||||
"@studio-freight/lenis": "^1.0.15",
|
||||
"classix": "^2.1.32",
|
||||
"dayjs": "^1.11.8",
|
||||
"embla-carousel": "^7.1.0",
|
||||
@@ -29,7 +29,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@sveltejs/adapter-auto": "^2.1.0",
|
||||
"@sveltejs/adapter-vercel": "^3.0.1",
|
||||
"@sveltejs/adapter-cloudflare": "^2.3.0",
|
||||
"@sveltejs/kit": "^1.20.2",
|
||||
"@typescript-eslint/eslint-plugin": "^5.59.9",
|
||||
"@typescript-eslint/parser": "^5.59.9",
|
||||
|
||||
11
apps/website/static/_headers
Normal file
11
apps/website/static/_headers
Normal file
@@ -0,0 +1,11 @@
|
||||
/*
|
||||
X-Content-Type-Options: nosniff
|
||||
X-Frame-Options: SAMEORIGIN
|
||||
X-XSS-Protection: 1; mode=block
|
||||
Referrer-Policy: no-referrer-when-downgrade
|
||||
Permissions-Policy: document-domain=()
|
||||
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
|
||||
Feature-Policy: geolocation 'self'
|
||||
|
||||
/:all*(woff2?|jpe?g|png|gif|svg|js|xml|txt|json|css|mp4|webm|avif)
|
||||
Cache-Control: public, max-age=31536000, immutable
|
||||
@@ -1,5 +1,5 @@
|
||||
import preprocess from 'svelte-preprocess'
|
||||
import adapter from '@sveltejs/adapter-vercel'
|
||||
import adapter from '@sveltejs/adapter-cloudflare'
|
||||
import { fileURLToPath } from 'url'
|
||||
import { dirname } from 'path'
|
||||
|
||||
@@ -18,7 +18,10 @@ const config = {
|
||||
|
||||
kit: {
|
||||
adapter: adapter({
|
||||
runtime: 'edge',
|
||||
routes: {
|
||||
include: ['/*'],
|
||||
exclude: ['<all>']
|
||||
}
|
||||
}),
|
||||
alias: {
|
||||
$components: 'src/components',
|
||||
|
||||
Reference in New Issue
Block a user