Skip to content

Commit

Permalink
Update CDN URL
Browse files Browse the repository at this point in the history
I'm not totally sure how to test this. Could someone point me in the right direction?
  • Loading branch information
thsparks authored Jan 8, 2025
1 parent 20006bd commit 7d72bd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/web/makecodeGallery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { httpRequestCoreAsync } from "./host";
import { listHardwareVariantsAsync } from "./makecodeOperations";
import { readTextFileAsync } from "./util";

const apiRoot = "https://pxt.azureedge.net";
const apiRoot = "https://cdn.makecode.com";

const disallowedHardwareVariants = [
"Arcade table",
Expand Down Expand Up @@ -183,4 +183,4 @@ function tryJSONParse(json: string) {
catch {
return undefined;
}
}
}

0 comments on commit 7d72bd6

Please sign in to comment.