Skip to content

Commit

Permalink
Hent favicon fra cdn hvis det ikke er lokalt
Browse files Browse the repository at this point in the history
  • Loading branch information
ssaegrov committed Dec 11, 2024
1 parent 7531120 commit 11160dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,18 +61,18 @@ export function links() {
rel: "icon",
type: "image/png",
sizes: "32x32",
href: `${getEnv("BASE_PATH")}/favicon-32x32.png`,
href: `${getEnv("IS_LOCALHOST") ? "/saksbehandling" : "https://cdn.nav.no/teamdagpenger/dp-saksbehandling-frontend/client"}/favicon-32x32.png`,
},
{
rel: "icon",
type: "image/png",
sizes: "16x16",
href: `${getEnv("BASE_PATH")}/favicon-16x16.png`,
href: `${getEnv("IS_LOCALHOST") ? "/saksbehandling" : "https://cdn.nav.no/teamdagpenger/dp-saksbehandling-frontend/client"}/favicon-16x16.png`,
},
{
rel: "icon",
type: "image/x-icon",
href: `${getEnv("BASE_PATH")}/favicon.ico`,
href: `${getEnv("IS_LOCALHOST") ? "/saksbehandling" : "https://cdn.nav.no/teamdagpenger/dp-saksbehandling-frontend/client"}/favicon.ico`,
},
];
}
Expand Down

0 comments on commit 11160dd

Please sign in to comment.