mirror of
https://github.com/rommapp/romm.git
synced 2026-11-28 17:48:31 +01:00
$request_uri includes the query string, so the end-anchored player pattern missed /rom/<id>/jsdos?x=1 and nginx dropped COOP and COEP, leaving the threaded runtime without SharedArrayBuffer. Accept an optional query instead of anchoring at the path end. Matching stays on $request_uri: try_files rewrites $uri to /index.html before add_header runs, so a $uri map would match no player URL at all. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>