mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-23 16:23:12 +09:00
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:
1 parent
2f70db4b7e
commit
41b9eb1005
1 file changed
+1
-1
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
import { Static, Type } from "@sinclair/typebox";
|
import { Static, Type } from "@sinclair/typebox";
|
||||||
import { FullVersionSchema, integerFullVersion, isFullVersion } from "../data/version";
|
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
|
* Represents the parsed result of a factorio version
|
||||||
|
|||||||
Reference in new issue
Block a user