File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
src/shared/backend/services Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import { ZipInfoRaw, unzipRaw } from "unzipit";
33import ZipHTTPRangeReader from "shared/backend/utils/ZipHTTPRangeReader" ;
44import ky from "ky" ;
55import config from "shared/backend/config" ;
6+ import environment from "shared/environment" ;
67import { uniqueBy } from "shared/tools" ;
78import { GithubClient } from "shared/api/github" ;
89
@@ -27,6 +28,7 @@ const firmwareBundle = async (url: string): Promise<ZipInfoRaw> => {
2728 ? await ( async ( ) => {
2829 if ( ! firmwareBundleBlobs [ url ] ) {
2930 firmwareBundleBlobs [ url ] = ky ( url , {
31+ prefixUrl : ! environment . isMain ? config . proxyUrl : undefined ,
3032 headers : {
3133 Authorization : config . github . prBuildsKey
3234 ? `token ${ config . github . prBuildsKey } `
You can’t perform that action at this time.
0 commit comments