diff --git a/ui/frontend/tests/pwa/pwa.spec.ts b/ui/frontend/tests/pwa/pwa.spec.ts index aaf7fa6..d24e35b 100644 --- a/ui/frontend/tests/pwa/pwa.spec.ts +++ b/ui/frontend/tests/pwa/pwa.spec.ts @@ -18,7 +18,10 @@ test.describe("PWA", () => { .get(href!) .then((r) => r.json()); expect(manifest.name).toBe("Galaxy"); - expect(manifest.start_url).toBe("/"); + // Relative so the manifest is base-agnostic: served under the app + // base (`/` at the root, `/game/` in the single-origin deploy) it + // resolves to the app root either way. + expect(manifest.start_url).toBe("./"); expect(manifest.display).toBe("standalone"); const sizes = (manifest.icons as { sizes: string }[]).map((i) => i.sizes); expect(sizes).toContain("192x192");