Avoid redirect in fetchFactorioVersions

Speed up fetching of result by avoiding a roundtrip due to path being
redirected to a path ending in a /.
This commit is contained in:
Hornwitser committed 2026-03-09 15:32:43 +01:00
1 parent 2f70db4b7e
commit 41b9eb1005
1 file changed
+1 -1
+1 -1
View File
@@ -1,7 +1,7 @@
import { Static, Type } from "@sinclair/typebox";
import { FullVersionSchema, integerFullVersion, isFullVersion } from "../data/version";
const ARCHIVE_URL = "https://factorio.com/download/archive";
const ARCHIVE_URL = "https://factorio.com/download/archive/";
/**
* Represents the parsed result of a factorio version