From 62784d40735fa5032d381b1158d266c3c630bee9 Mon Sep 17 00:00:00 2001 From: Thomas Sparks <69657545+thsparks@users.noreply.github.com> Date: Wed, 8 Jan 2025 17:04:36 -0800 Subject: [PATCH] Update CDN URL (#180) --- src/web/makecodeGallery.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/web/makecodeGallery.ts b/src/web/makecodeGallery.ts index 1f587b8..a1c34cf 100644 --- a/src/web/makecodeGallery.ts +++ b/src/web/makecodeGallery.ts @@ -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", @@ -183,4 +183,4 @@ function tryJSONParse(json: string) { catch { return undefined; } -} \ No newline at end of file +}