Unverified Commit c78c982e authored by Joe Haddad's avatar Joe Haddad Committed by GitHub

Adjust how CSS files are fetched (#19091)

parent ac3fe8e0
...@@ -246,7 +246,7 @@ function createRouteLoader(assetPrefix: string): RouteLoader { ...@@ -246,7 +246,7 @@ function createRouteLoader(assetPrefix: string): RouteLoader {
styleSheets.set( styleSheets.set(
href, href,
(prom = fetch(href, { credentials: 'include' }) (prom = fetch(href)
.then((res) => { .then((res) => {
if (!res.ok) { if (!res.ok) {
throw new Error(`Failed to load stylesheet: ${href}`) throw new Error(`Failed to load stylesheet: ${href}`)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment