diff --git a/prisma/schema.prisma b/prisma/schema.prisma index be1d632..53717b9 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -5,7 +5,7 @@ generator client { datasource db { provider = "postgresql" - url = env("DATABASE_URL") + url = "postgresql://zemenu_db_user:Bx5QvACdW9iMC7k6guIQHZUM60c0a6jZ@dpg-d4n9ekggjchc73buc9qg-a.oregon-postgres.render.com/zemenu_db" } model User { diff --git a/src/main.ts b/src/main.ts index 450af47..2ab5940 100644 --- a/src/main.ts +++ b/src/main.ts @@ -9,7 +9,7 @@ async function bootstrap() { const app = await NestFactory.create(AppModule, { bodyParser: false }); app.enableCors({ - origin: ['http://localhost:5173', 'http://localhost:5174'], + origin: ['http://localhost:5173', 'http://localhost:5174', 'http://localhost:3000', 'http://localhost:3001'], credentials: true, });