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:
2020-05-06 23:04:35 +02:00
parent 8e20ab18fb
commit 2bb568865c

View File

@@ -127,22 +127,22 @@ export default {
/*
** Service worker
*/
...(!dev && {
serviceworker: {
input: sapperConfig.serviceworker.input(),
output: sapperConfig.serviceworker.output(),
plugins: [
resolve(),
replace({
'process.browser': false,
...replaceOptions
}),
aliases,
glslify(),
commonjs(),
!dev && terser()
],
onwarn,
}
})
// ...(!dev && {
// serviceworker: {
// input: sapperConfig.serviceworker.input(),
// output: sapperConfig.serviceworker.output(),
// plugins: [
// resolve(),
// replace({
// 'process.browser': false,
// ...replaceOptions
// }),
// aliases,
// glslify(),
// commonjs(),
// !dev && terser()
// ],
// onwarn,
// }
// })
}