Skip to content

Commit

Permalink
Fix favicon (#195)
Browse files Browse the repository at this point in the history
Cannot use `/public/favicon.png` because the reverse proxy is calling
udata-front for `/`
When the migration is over we can remove this static path.
  • Loading branch information
ThibaudDauce authored Dec 5, 2024
1 parent ef31d5a commit 94ee331
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,10 @@ export default defineNuxtConfig({
class: 'datagouv-components',
},
link: [
{ rel: 'shortcut icon', href: '/favicon.png' },
// Cannot use `/public/favicon.png` because the reverse proxy is calling udata-front for `/`
// When the migration is over we can remove this static path.
// :AfterMigration
{ rel: 'shortcut icon', href: 'https://static.data.gouv.fr/_themes/gouvfr/img/favicon.png' },
],
},
},
Expand Down

0 comments on commit 94ee331

Please sign in to comment.