From ffe1ad0e81ed33221d487f1a7d6b61063b3dc2be Mon Sep 17 00:00:00 2001 From: Mykola Date: Sat, 8 Nov 2025 23:21:30 +0200 Subject: [PATCH] Add a note to the README explaining the nuances of replaying production games locally (#2416) ## Description: Had an issue with replaying games via `npm run dev:prod`. Added summary of the [issue discussion](https://discord.com/channels/1359946986937258015/1359946989046989063/1436819549205827697) with @evanpelle into this PR ## Please put your Discord username so you can be contacted if a bug or regression is found: nikolaj_mykola --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 868aa8120..193843d19 100644 --- a/README.md +++ b/README.md @@ -91,6 +91,9 @@ npm run start:server-dev Sometimes it's useful to connect to production servers when replaying a game, testing user profiles, purchases, or login flow. +> To replay a production game, make sure you're on the same commit that the game you want to replay was executed on, you can find the `gitCommit` value via `https://api.openfront.io/game/[gameId]`. +> Unfinished games cannot be replayed on localhost. + To connect to staging api servers: ```bash