fix domain name
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { defineConfig } from '@adonisjs/cors';
|
||||
const corsConfig = defineConfig({
|
||||
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'],
|
||||
headers: true,
|
||||
exposeHeaders: [],
|
||||
|
||||
Reference in New Issue
Block a user