From a9548652bbd75215dfbf61985b6864f754de43cc Mon Sep 17 00:00:00 2001 From: Julien Bouquillon Date: Mon, 21 Feb 2022 18:08:39 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Refacto=20:=20MAJ=20api=20url=20rec?= =?UTF-8?q?herche-entreprises?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- site/source/api/fabrique-social.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/source/api/fabrique-social.ts b/site/source/api/fabrique-social.ts index 3e5bc77d0..87b7a4a20 100644 --- a/site/source/api/fabrique-social.ts +++ b/site/source/api/fabrique-social.ts @@ -47,7 +47,7 @@ type FabriqueSocialSearchPayload = { const COMPANY_SEARCH_HOST = import.meta.env.VITE_COMPANY_SEARCH_HOST || - 'https://search-recherche-entreprises.fabrique.social.gouv.fr' + 'https://api.recherche-entreprises.fabrique.social.gouv.fr' const makeSearchUrl = (query: string, limit: number) => `${COMPANY_SEARCH_HOST}/api/v1/search?query=${query}&open=true&convention=false&employer=false&ranked=false&limit=${limit}`