Merge pull request 'Fetch issue' (#22) from dev into main

Reviewed-on: #22
This commit is contained in:
glazk0 2024-04-07 20:12:50 +02:00
commit f7c46f4c26
4 changed files with 2 additions and 21 deletions

View file

@ -20,12 +20,12 @@
"clsx": "^2.1.0", "clsx": "^2.1.0",
"formsnap": "^0.5.1", "formsnap": "^0.5.1",
"lucide-svelte": "^0.363.0", "lucide-svelte": "^0.363.0",
"mdsvex": "^0.11.0",
"mode-watcher": "^0.3.0", "mode-watcher": "^0.3.0",
"svelte-boring-avatars": "^1.2.6", "svelte-boring-avatars": "^1.2.6",
"svelte-sonner": "^0.3.19", "svelte-sonner": "^0.3.19",
"tailwind-merge": "^2.2.2", "tailwind-merge": "^2.2.2",
"tailwind-variants": "^0.2.1", "tailwind-variants": "^0.2.1",
"mdsvex": "^0.11.0",
"vaul-svelte": "^0.3.0" "vaul-svelte": "^0.3.0"
}, },
"devDependencies": { "devDependencies": {
@ -33,7 +33,6 @@
"@sveltejs/adapter-node": "^5.0.1", "@sveltejs/adapter-node": "^5.0.1",
"@sveltejs/kit": "^2.5.4", "@sveltejs/kit": "^2.5.4",
"@sveltejs/vite-plugin-svelte": "^3.0.2", "@sveltejs/vite-plugin-svelte": "^3.0.2",
"@tailwindcss/forms": "^0.5.7",
"@tailwindcss/typography": "^0.5.10", "@tailwindcss/typography": "^0.5.10",
"@typescript-eslint/eslint-plugin": "^7.3.1", "@typescript-eslint/eslint-plugin": "^7.3.1",
"@typescript-eslint/parser": "^7.3.1", "@typescript-eslint/parser": "^7.3.1",

17
pnpm-lock.yaml generated
View file

@ -55,9 +55,6 @@ devDependencies:
'@sveltejs/vite-plugin-svelte': '@sveltejs/vite-plugin-svelte':
specifier: ^3.0.2 specifier: ^3.0.2
version: 3.0.2(svelte@4.2.12)(vite@5.2.6) version: 3.0.2(svelte@4.2.12)(vite@5.2.6)
'@tailwindcss/forms':
specifier: ^0.5.7
version: 0.5.7(tailwindcss@3.4.1)
'@tailwindcss/typography': '@tailwindcss/typography':
specifier: ^0.5.10 specifier: ^0.5.10
version: 0.5.10(tailwindcss@3.4.1) version: 0.5.10(tailwindcss@3.4.1)
@ -815,15 +812,6 @@ packages:
tslib: 2.6.2 tslib: 2.6.2
dev: false dev: false
/@tailwindcss/forms@0.5.7(tailwindcss@3.4.1):
resolution: {integrity: sha512-QE7X69iQI+ZXwldE+rzasvbJiyV/ju1FGHH0Qn2W3FKbuYtqp8LKcy6iSw79fVUT5/Vvf+0XgLCeYVG+UV6hOw==}
peerDependencies:
tailwindcss: '>=3.0.0 || >= 3.0.0-alpha.1'
dependencies:
mini-svg-data-uri: 1.4.4
tailwindcss: 3.4.1
dev: true
/@tailwindcss/typography@0.5.10(tailwindcss@3.4.1): /@tailwindcss/typography@0.5.10(tailwindcss@3.4.1):
resolution: {integrity: sha512-Pe8BuPJQJd3FfRnm6H0ulKIGoMEQS+Vq01R6M5aCrFB/ccR/shT+0kXLjouGC1gFLm9hopTFN+DMP0pfwRWzPw==} resolution: {integrity: sha512-Pe8BuPJQJd3FfRnm6H0ulKIGoMEQS+Vq01R6M5aCrFB/ccR/shT+0kXLjouGC1gFLm9hopTFN+DMP0pfwRWzPw==}
peerDependencies: peerDependencies:
@ -2182,11 +2170,6 @@ packages:
engines: {node: '>=4'} engines: {node: '>=4'}
dev: true dev: true
/mini-svg-data-uri@1.4.4:
resolution: {integrity: sha512-r9deDe9p5FJUPZAk3A59wGH7Ii9YrjjWw0jmw/liSbHl2CHiyXj6FcDXDu2K3TjVAXqiJdaw3xxwlZZr9E6nHg==}
hasBin: true
dev: true
/minimatch@3.1.2: /minimatch@3.1.2:
resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==}
dependencies: dependencies:

View file

@ -41,7 +41,7 @@ export const handleFetch: HandleFetch = async ({ request, fetch, event: { cookie
request = new Request(request, { request = new Request(request, {
headers: { headers: {
...Object.fromEntries(request.headers), ...request.headers,
Authorization: `Bearer ${session}` Authorization: `Bearer ${session}`
}, },
}); });

View file

@ -69,7 +69,6 @@ const config = {
}, },
plugins: [ plugins: [
require('@tailwindcss/typography'), require('@tailwindcss/typography'),
require('@tailwindcss/forms'),
], ],
}; };