fix domain name
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import { defineConfig } from '@adonisjs/cors';
|
import { defineConfig } from '@adonisjs/cors';
|
||||||
const corsConfig = defineConfig({
|
const corsConfig = defineConfig({
|
||||||
enabled: true,
|
enabled: true,
|
||||||
origin: ['http://localhost:4200', 'http://127.0.0.1:4200', 'https://portfolio.nucleus-ludus.fr', 'https://www.portfolio.nucleus-ludus.fr'],
|
origin: ['http://localhost:4200', 'http://127.0.0.1:4200', 'https://portfolio.davor-nucleus.fr', 'https://www.portfolio.davor-nucleus.fr'],
|
||||||
methods: ['GET', 'HEAD', 'POST', 'PUT', 'PATCH', 'DELETE', 'OPTIONS'],
|
methods: ['GET', 'HEAD', 'POST', 'PUT', 'PATCH', 'DELETE', 'OPTIONS'],
|
||||||
headers: true,
|
headers: true,
|
||||||
exposeHeaders: [],
|
exposeHeaders: [],
|
||||||
|
|||||||
Reference in New Issue
Block a user