diff --git a/next.config.js b/next.config.js index 42fb61a..3a4b77e 100644 --- a/next.config.js +++ b/next.config.js @@ -20,27 +20,27 @@ const config = { }, // Allow cross-origin requests from local network ranges allowedDevOrigins: [ - 'http://localhost:3000', - 'http://127.0.0.1:3000', - 'http://[::1]:3000', - 'http://10.*', - 'http://172.16.*', - 'http://172.17.*', - 'http://172.18.*', - 'http://172.19.*', - 'http://172.20.*', - 'http://172.21.*', - 'http://172.22.*', - 'http://172.23.*', - 'http://172.24.*', - 'http://172.25.*', - 'http://172.26.*', - 'http://172.27.*', - 'http://172.28.*', - 'http://172.29.*', - 'http://172.30.*', - 'http://172.31.*', - 'http://192.168.*', + 'localhost:3000', + '127.0.0.1:3000', + '[::1]:3000', + '10.*', + '172.16.*', + '172.17.*', + '172.18.*', + '172.19.*', + '172.20.*', + '172.21.*', + '172.22.*', + '172.23.*', + '172.24.*', + '172.25.*', + '172.26.*', + '172.27.*', + '172.28.*', + '172.29.*', + '172.30.*', + '172.31.*', + '192.168.*', ], turbopack: { diff --git a/src/server/db.js b/src/server/db.js index 4f777f3..153707f 100644 --- a/src/server/db.js +++ b/src/server/db.js @@ -1,5 +1,5 @@ import 'dotenv/config' -import { PrismaClient } from '../../prisma/generated/prisma' +import { PrismaClient } from '../../prisma/generated/prisma/client' import { PrismaBetterSqlite3 } from '@prisma/adapter-better-sqlite3' const globalForPrisma = globalThis;