Migrations!

This commit is contained in:
2022-09-08 21:43:50 +02:00
parent 2a70074382
commit fb0ca6a3ba
7 changed files with 14 additions and 5 deletions

View File

@@ -7,7 +7,7 @@ import { PrismaService } from 'prisma/prisma.service';
async function bootstrap() {
const app = await NestFactory.create(AppModule);
app.enableCors({
origin: [process.env.WEBAPP_URL],
origin: [process.env.WEBAPP_URL, 'https://studio.apollographql.com'],
allowedHeaders: ['content-type', ...supertokens.getAllCORSHeaders()],
credentials: true,
});