use adapter node

This commit is contained in:
Face 2025-05-30 14:58:57 +03:00
parent 886ec62f87
commit 4bd3294f89
3 changed files with 1636 additions and 3 deletions

View file

@ -1,4 +1,4 @@
import adapter from '@sveltejs/adapter-auto';
import adapter from '@sveltejs/adapter-node';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
/** @type {import('@sveltejs/kit').Config} */
@ -8,8 +8,6 @@ const config = {
preprocess: vitePreprocess(),
kit: {
// adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list.
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
// See https://svelte.dev/docs/kit/adapters for more information about adapters.
adapter: adapter()
}

1634
website/websocket/package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -10,6 +10,7 @@
"typescript": "^5"
},
"dependencies": {
"@sveltejs/adapter-node": "^5.2.12",
"dotenv": "^16.5.0",
"ioredis": "^5.6.1"
}