Skip to content

Commit 7427cc5

Browse files
CCM-11474: Security scan fixes (#716)
1 parent 1f33034 commit 7427cc5

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

frontend/src/app/layout.tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,22 @@ export const metadata: Metadata = {
1818
icons: {
1919
icon: [
2020
{
21-
url: `${getBasePath()}/assets/images/favicon.ico`,
21+
url: '/assets/favicons/favicon.ico',
2222
sizes: '48x48',
2323
},
2424
{
25-
url: `${getBasePath()}/assets/images/favicon.svg`,
25+
url: '/assets/favicons/favicon.svg',
2626
type: 'image/svg+xml',
2727
sizes: 'any',
2828
},
2929
],
3030
apple: {
31-
url: `${getBasePath()}/assets/images/nhsuk-icon-180.png`,
31+
url: '/assets/images/apple-touch-icon-180x180.png',
3232
},
3333
other: [
3434
{
3535
rel: 'mask-icon',
36-
url: `${getBasePath()}/assets/images/nhsuk-icon-mask.svg`,
36+
url: '/assets/images/favicon.svg',
3737
color: '#005eb8',
3838
},
3939
],
@@ -57,7 +57,6 @@ export default function RootLayout({
5757
return (
5858
<html lang='en'>
5959
<head>
60-
<link rel='manifest' href={`${getBasePath()}/assets/manifest.json`} />
6160
<script
6261
src={`${getBasePath()}/lib/nhsuk-frontend-10.0.0.min.js`}
6362
defer

0 commit comments

Comments
 (0)