Migrations!
This commit is contained in:
@@ -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,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user