mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-30 10:12:14 +00:00
use no-cache when retrieving commit.txt to avoid stale commit
This commit is contained in:
@@ -244,6 +244,7 @@ export class JoinPrivateLobbyModal extends LitElement {
|
||||
const gitCommitPromise = fetch(`/commit.txt`, {
|
||||
method: "GET",
|
||||
headers: { "Content-Type": "application/json" },
|
||||
cache: "no-cache",
|
||||
});
|
||||
|
||||
const [archiveResponse, gitCommitResponse] = await Promise.all([
|
||||
|
||||
Reference in New Issue
Block a user