mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 11:50:42 +00:00
use GIT_COMMIT instead of version for manifest.json cache busting to prevent users from pulling stale manifest if the version is not updated
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
import version from "resources/version.txt?raw";
|
||||
import { FetchGameMapLoader } from "../core/game/FetchGameMapLoader";
|
||||
|
||||
export const terrainMapFileLoader = new FetchGameMapLoader(`/maps`, version);
|
||||
export const terrainMapFileLoader = new FetchGameMapLoader(
|
||||
`/maps`,
|
||||
window.GIT_COMMIT,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user