Merge pull request #336 from Team-Silver-Sphere/hotfix-a1

Removing CDN link for new versioning.
This commit is contained in:
Marek 2024-01-05 18:43:27 -06:00 committed by GitHub
commit e84c0ef954
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ function versionOutOfDate(current, latest) {
export default async function () {
const { data } = await axios.get(
`https://cdn.jsdelivr.net/gh/Team-Silver-Sphere/SquadJS@master/package.json`
`https://raw.githubusercontent.com/Team-Silver-Sphere/SquadJS/master/package.json`
);
const outdated = versionOutOfDate(SQUADJS_VERSION, data.version);