update many graphql field

This commit is contained in:
2024-10-12 16:34:43 +07:00
parent 244a6f3015
commit ba77bd4e1c
29 changed files with 466 additions and 56 deletions

View File

@@ -1,4 +1,6 @@
export const cors = {
import { CorsOptions } from '@nestjs/common/interfaces/external/cors-options.interface';
export const cors: CorsOptions = {
origin: process.env.CORS_ORIGIN,
methods: ['GET', 'POST', 'PUT', 'DELETE', 'PATCH', 'OPTIONS'],
allowedHeaders: ['Content-Type', 'Authorization'],