Skip to content

Commit

Permalink
fix: default api key name cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementNumericite committed Sep 14, 2023
1 parent 3d90dfc commit bb7ced4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webapp-next/utils/tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -524,5 +524,5 @@ export function removeAccents(str: string) {
return str.normalize('NFD').replace(/[\u0300-\u036f]/g, '');
}

export const ELASTIC_API_KEY_NAME = process.env
.NEXT_PUBLIC_ELASTIC_API_KEY_NAME as string;
export const ELASTIC_API_KEY_NAME =
(process.env.NEXT_PUBLIC_ELASTIC_API_KEY_NAME as string) || 'cm2d_api_key';

0 comments on commit bb7ced4

Please sign in to comment.