Replies: 2 comments
-
It would be great if you would find a solution to this issue, but it seems to me it's an issue with your setup, not with Gramps Web itself, right? I'll convert it to a discussion for now, but let me know if you do find something wrong. |
Beta Was this translation helpful? Give feedback.
-
I'm running more than a dozen other apps behind the same proxy, so I don't think it's a setup problem. I just think the 2 things are currently incompatible. I know next to nothing about frontend development, so I'm struggling a bit here. I tried to configure the "index.html" to be registered with a NetworkFirst or NetworkOnly caching policy, adding a const baseConfig = createSpaConfig({
developmentMode: process.env.ROLLUP_WATCH === 'true',
injectServiceWorker: true,
workbox: {
navigateFallbackDenylist: [/^\/api.*/],
skipWaiting: false,
clientsClaim: false,
runtimeCaching: [
{
urlPattern: 'index.html',
handler: 'NetworkOnly',
},
],
}
html: {
transform: [
html => html.replace('<base href="/">', `<base href="${BASE_DIR}/">`),
],
},
}) Then, I tried to completely turn off the service work, by setting |
Beta Was this translation helpful? Give feedback.
-
I'm running Gramps behind an authentifying proxy (currently Cloudflare Zero Trust, but Pomerium before that), and I'm having an issue where the site doesn't load and only shows a blank page. On Chrome, forcing a refresh (Cmd+Shift+R) temporarily solves the issue, but not on Safari.
Here is what I've been able to gather:
See the following screenshots.
Beta Was this translation helpful? Give feedback.
All reactions