Files
matrix-authentication-service/frontend
Quentin Gliech 5d7a66557a Load frontend translations with dynamic imports instead of fetch
`import.meta.glob` now generates lazy loaders for the locale JSON modules
rather than hashed asset URLs, so `Backend.read` awaits an `import()` instead
of doing a `fetch`. This puts translation loading under the `script-src` CSP
directive instead of `connect-src`, and lets the browser preload them as
modules, which the `<link rel="preload" as="fetch">` hint never really did
because of the credentials-mode mismatch.

Dynamic imports are cached for the lifetime of the page, so locale
hot-reloading now triggers a full page reload in dev instead of asking i18next
to re-read its resources.
2026-08-07 17:59:26 +02:00
..
2026-08-04 18:03:18 +00:00
2026-07-10 11:33:47 +00:00
2024-02-09 15:57:11 +01:00
2026-07-06 10:49:27 +02:00
2026-08-07 07:59:31 +00:00
2026-05-12 15:08:24 -05:00