Service Worker is fucking up loading assets and the globe texture
GET https://housesof.world/fonts/G-Light.woff2 net::ERR_HTTP2_PROTOCOL_ERROR 200 (index):1 GET https://housesof.world/fonts/G-Regular.woff net::ERR_HTTP2_PROTOCOL_ERROR 200 (index):5 GET https://housesof.world/fonts/G-Semibold.woff2 net::ERR_HTTP2_PROTOCOL_ERROR 200 (index):1 GET https://housesof.world/fonts/G-Semibold.woff net::ERR_HTTP2_PROTOCOL_ERROR 200 GLOBE: index.cd27397d.js:1 WebGL: INVALID_VALUE: texImage2D: bad image data bindImage @ index.cd27397d.js:1 r.onload @ index.cd27397d.js:1 load (async) k.fromUrl @ index.cd27397d.js:1 buildWebglScene @ index.cd27397d.js:1 default @ index.cd27397d.js:1 (anonymous) @ InteractiveGlobe.62b7bd9e.js:1 async function (async) (anonymous) @ InteractiveGlobe.62b7bd9e.js:1 o @ client.8ee97230.js:1 (anonymous) @ client.8ee97230.js:1 ct @ client.8ee97230.js:1 Promise.then (async) Pt @ client.8ee97230.js:1 (anonymous) @ client.8ee97230.js:1 (anonymous) @ InteractiveGlobe.62b7bd9e.js:1 r @ InteractiveGlobe.62b7bd9e.js:1 setTimeout (async) (anonymous) @ InteractiveGlobe.62b7bd9e.js:1
This commit is contained in:
@@ -127,22 +127,22 @@ export default {
|
|||||||
/*
|
/*
|
||||||
** Service worker
|
** Service worker
|
||||||
*/
|
*/
|
||||||
...(!dev && {
|
// ...(!dev && {
|
||||||
serviceworker: {
|
// serviceworker: {
|
||||||
input: sapperConfig.serviceworker.input(),
|
// input: sapperConfig.serviceworker.input(),
|
||||||
output: sapperConfig.serviceworker.output(),
|
// output: sapperConfig.serviceworker.output(),
|
||||||
plugins: [
|
// plugins: [
|
||||||
resolve(),
|
// resolve(),
|
||||||
replace({
|
// replace({
|
||||||
'process.browser': false,
|
// 'process.browser': false,
|
||||||
...replaceOptions
|
// ...replaceOptions
|
||||||
}),
|
// }),
|
||||||
aliases,
|
// aliases,
|
||||||
glslify(),
|
// glslify(),
|
||||||
commonjs(),
|
// commonjs(),
|
||||||
!dev && terser()
|
// !dev && terser()
|
||||||
],
|
// ],
|
||||||
onwarn,
|
// onwarn,
|
||||||
}
|
// }
|
||||||
})
|
// })
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user