diff --git a/GrossesMitaines/GrossesMitainesAPI/Controllers/ProductController.cs b/GrossesMitaines/GrossesMitainesAPI/Controllers/ProductController.cs index ab2d9c4..9cd45b8 100644 --- a/GrossesMitaines/GrossesMitainesAPI/Controllers/ProductController.cs +++ b/GrossesMitaines/GrossesMitainesAPI/Controllers/ProductController.cs @@ -9,6 +9,7 @@ using Microsoft.AspNetCore.Cors; namespace GrossesMitainesAPI.Controllers; +[EnableCors("_myAllowSpecificOrigins")] [ApiController, Route("api/[controller]")] public class ProductController : Controller { private readonly ILogger _logger; diff --git a/GrossesMitaines/grosses-mitaines-ui/src/components/Footer.js b/GrossesMitaines/grosses-mitaines-ui/src/components/Footer.js index 84131df..d948157 100644 --- a/GrossesMitaines/grosses-mitaines-ui/src/components/Footer.js +++ b/GrossesMitaines/grosses-mitaines-ui/src/components/Footer.js @@ -8,7 +8,7 @@ import LogoTG from "./partenaires/tg.jpg"; const Footer = () => { return ( -