From 789789a0ae0b94f33ed93d86c24b513be887b4aa Mon Sep 17 00:00:00 2001 From: David Belisle <79233327+DavidBelisle@users.noreply.github.com> Date: Tue, 18 Oct 2022 11:32:06 -0400 Subject: [PATCH] pretty much rien --- .../GrossesMitainesAPI/Controllers/ProductController.cs | 1 + GrossesMitaines/grosses-mitaines-ui/src/components/Footer.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 ( -