Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Commit

Permalink
Fixed consent cookie definition with invalid base path
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianLeChat committed Jan 3, 2024
1 parent 342b54a commit 7e11f93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ function Domego( { Component, pageProps }: AppProps )

// Paramètres internes des cookies.
cookie: {
path: basePath,
name: "NEXT_COOKIE"
name: "NEXT_COOKIE",
path: basePath === "" ? "/" : basePath
},

// Paramètres de l'interface utilisateur.
Expand Down

0 comments on commit 7e11f93

Please sign in to comment.