diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 0298533..3f1a9f2 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -264,7 +264,7 @@ jobs: const fs = require('fs'); const crypto = require("crypto"); - const s3Path = 'https://pub-ad9e0b7360bc4259878d0f81b89c5405.r2.dev/${{ github.sha }}/${{inputs.llama-tag}}/'; + const s3Path = 'https://s3.firecoder.cc/${{ github.sha }}/${{inputs.llama-tag}}/'; const getCheckSum = (path) => { const file = fs.readFileSync(path); @@ -313,11 +313,11 @@ jobs: "arm64": { cpu: { checksum: "51ce309f4f5d055fd226a154784812fce10396ad8f8b3478b94fff24569a5063", - url: "https://pub-ad9e0b7360bc4259878d0f81b89c5405.r2.dev/macOS-arm64", + url: "https://s3.firecoder.cc/macOS-arm64", }, metal: { checksum: "51ce309f4f5d055fd226a154784812fce10396ad8f8b3478b94fff24569a5063", - url: "https://pub-ad9e0b7360bc4259878d0f81b89c5405.r2.dev/macOS-arm64-metal" + url: "https://s3.firecoder.cc/macOS-arm64-metal" }, } } diff --git a/src/common/download/index.ts b/src/common/download/index.ts index 0429bfb..87f3037 100644 --- a/src/common/download/index.ts +++ b/src/common/download/index.ts @@ -91,9 +91,7 @@ const getServerInfo = async (): Promise => { ? "spec-pre-release.json" : "spec.json"; - const response = await fetch( - `https://pub-ad9e0b7360bc4259878d0f81b89c5405.r2.dev/${specFile}` - ); + const response = await fetch(`https://s3.firecoder.cc/${specFile}`); if (!response.ok) { return null;