Explorar o código

Merge pull request #5381 from reggiezhang/patch-1

Add crossOrigin="use-credentials" for site.webmanifest
Lloyd Zhou hai 1 ano
pai
achega
2ff292cbfa
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/layout.tsx

+ 1 - 1
app/layout.tsx

@@ -41,7 +41,7 @@ export default function RootLayout({
           name="viewport"
           content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
         />
-        <link rel="manifest" href="/site.webmanifest"></link>
+        <link rel="manifest" href="/site.webmanifest" crossOrigin="use-credentials"></link>
         <script src="/serviceWorkerRegister.js" defer></script>
       </head>
       <body>