fix: Minor production mode issues

This commit is contained in:
April Hall 2025-02-11 16:51:47 -05:00
parent 66db8babbf
commit e938e7e064
Signed by: arithefirst
GPG Key ID: 4508A15C4DB91C5B
2 changed files with 4 additions and 3 deletions

View File

@ -13,7 +13,8 @@
"lint": "eslint .",
"migrate": "npx @better-auth/cli migrate --config './src/lib/server/db/auth'",
"preview": "vite preview",
"prepare": "svelte-kit sync || echo ''"
"prepare": "svelte-kit sync || echo ''",
"production": "tsm ./prodServer.ts"
},
"devDependencies": {
"@eslint/compat": "^1.2.5",

View File

@ -2,8 +2,8 @@ import { handler } from './build/handler.js';
import express from 'express';
import { createServer } from 'http';
import { Server } from 'socket.io';
import { db } from './src/lib/server/db';
import { authdb } from './src/lib/server/db/sqlite';
import { db } from './src/lib/server/db/index.js';
import { authdb } from './src/lib/server/db/sqlite.js';
import { v4 as uuidv4 } from 'uuid';
const app = express();