Skip to content

Commit b6ad6ee

Browse files
authored
Remove alternative CORS proxy logic from page.svelte
Removed alternative Launcher CORS proxy code and related comments.
1 parent bdb4702 commit b6ad6ee

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

src/routes/flasher/+page.svelte

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -75,21 +75,6 @@
7575
}
7676
7777
function getBuildPath(releaseTag, selectedDevice) {
78-
// using alternative Launcher CORS proxy until Bruce's proxy doesn't get fixed
79-
// Change "activated" to False to get back to original code,
80-
// keep the alternative proxy in the code, DO NOT remove!!
81-
const activated = true;
82-
83-
if (activated && releaseTag === 'betaRelease') {
84-
return (
85-
'https://launcher-cors-proxy-99894582617.europe-west1.run.app/?url=https://github.com/BruceDevices/firmware/releases/download/' +
86-
releaseTag +
87-
'/Bruce-' +
88-
encodeURIComponent(selectedDevice) +
89-
'.bin'
90-
);
91-
}
92-
9378
return (
9479
'https://bruce.iceis.co.uk/service/github/' +
9580
releaseTag +

0 commit comments

Comments
 (0)