Skip to content

Commit

Permalink
Removing references to old CDN (#10318)
Browse files Browse the repository at this point in the history
* Start replacing old azureedge CDN

* Update CDN url for html files

* Remove last references to old CDN
  • Loading branch information
aznhassan authored and srietkerk committed Dec 21, 2024
1 parent c41db32 commit 30616db
Show file tree
Hide file tree
Showing 13 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion common-docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Access to certain domains is necessary to allow the web editor to reach all the
* @homeurl@
* https://makecode.com
* https://trg-@[email protected]
* https://pxt.azureedge.net
* https://cdn.makecode.com
* https://api.github.com
* https://immersivereaderprod.cognitiveservices.azure.com

Expand Down
2 changes: 1 addition & 1 deletion docfiles/domains-template.html
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@
addRow("@homeurl@")
addRow("https://makecode.com");
addRow("https://trg-@[email protected]");
addRow("https://pxt.azureedge.net");
addRow("https://cdn.makecode.com");
addRow("https://api.github.com");
addRow("https://immersivereaderprod.cognitiveservices.azure.com");
addRow("https://github.com");
Expand Down
2 changes: 1 addition & 1 deletion docs/editors.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"name": "Adafruit Circuit Playground Express BETA",
"title": "MakeCode for Circuit Playground",
"url": "https://makecode.adafruit.com/beta",
"icon": "https://pxt.azureedge.net/blob/1215b9ef46d3e04bc9923a1a333d92db92eb5419/static/logo.square.black.svg",
"icon": "https://cdn.makecode.com/blob/1215b9ef46d3e04bc9923a1a333d92db92eb5419/static/logo.square.black.svg",
"styles": {
"primary": "#1c1f2b",
"menu": "#FB48C7",
Expand Down
4 changes: 2 additions & 2 deletions docs/github-classroom-redirect.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="UTF-8">
<title>MakeCode GitHub Classroom Registration</title>
<link rel="stylesheet"
href="https://pxt.azureedge.net/blob/2163189fd5e35c0981ed55318415582a7c9aeb12/doccdn/semantic.css"
href="https://cdn.makecode.com/blob/2163189fd5e35c0981ed55318415582a7c9aeb12/doccdn/semantic.css"
type="text/css">
<script>
(function () {
Expand Down Expand Up @@ -105,7 +105,7 @@ <h1>
</footer>
</div>
<script type="text/javascript"
src="https://pxt.azureedge.net/blob/795d8506c80a04f5ca26f577a8d6152e2fa3e7a6/doccdn/pxtweb.js"></script>
src="https://cdn.makecode.com/blob/795d8506c80a04f5ca26f577a8d6152e2fa3e7a6/doccdn/pxtweb.js"></script>
<!-- @include tracking.html -->
</body>

Expand Down
8 changes: 4 additions & 4 deletions docs/github-explorer.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="UTF-8">
<title>MakeCode GitHub Explorer</title>
<link rel="stylesheet"
href="https://pxt.azureedge.net/blob/2163189fd5e35c0981ed55318415582a7c9aeb12/doccdn/semantic.css"
href="https://cdn.makecode.com/blob/2163189fd5e35c0981ed55318415582a7c9aeb12/doccdn/semantic.css"
type="text/css">
<style>
@targetstyle@ label,
Expand Down Expand Up @@ -80,9 +80,9 @@

</style>
<script type="text/javascript"
src="https://pxt.azureedge.net/blob/4d9b3a258759c53e7bc66b6fc554c51e2434437c/doccdn/jquery.js"></script>
src="https://cdn.makecode.com/blob/4d9b3a258759c53e7bc66b6fc554c51e2434437c/doccdn/jquery.js"></script>
<script type="text/javascript"
src="https://pxt.azureedge.net/blob/fc2f56f46189a2e8be3743a1a5abed3b676f9318/doccdn/semantic.js"></script>
src="https://cdn.makecode.com/blob/fc2f56f46189a2e8be3743a1a5abed3b676f9318/doccdn/semantic.js"></script>
<script>
(async function () {
const api = "https://api.github.com";
Expand Down Expand Up @@ -401,7 +401,7 @@
<div class="item">© 2022 Microsoft</div>
</footer>
<script type="text/javascript"
src="https://pxt.azureedge.net/blob/795d8506c80a04f5ca26f577a8d6152e2fa3e7a6/doccdn/pxtweb.js"></script>
src="https://cdn.makecode.com/blob/795d8506c80a04f5ca26f577a8d6152e2fa3e7a6/doccdn/pxtweb.js"></script>
<!-- @include tracking.html -->
</body>

Expand Down
2 changes: 1 addition & 1 deletion docs/online-learning.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<meta name="twitter:creator" content="@MsMakeCode">
<meta name="twitter:description" content="Compilation of self-paced tutorials and projects using MakeCode editor for micro:bit, Minecraft:Education Edition, Arcade and Adafruit Circuit Playground Express.">
<meta name="twitter:image" content="/static/online-learning/img/offline.jpg">
<link rel="stylesheet" href="https://pxt.azureedge.net/blob/2163189fd5e35c0981ed55318415582a7c9aeb12/doccdn/semantic.css" type="text/css">
<link rel="stylesheet" href="https://cdn.makecode.com/blob/2163189fd5e35c0981ed55318415582a7c9aeb12/doccdn/semantic.css" type="text/css">
<link rel="stylesheet" href="/static/online-learning/online-learning.css">
</head>

Expand Down
2 changes: 1 addition & 1 deletion docs/playground.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<link rel="stylesheet" href="https://pxt.azureedge.net/blob/2163189fd5e35c0981ed55318415582a7c9aeb12/doccdn/semantic.css" type="text/css">
<link rel="stylesheet" href="https://cdn.makecode.com/blob/2163189fd5e35c0981ed55318415582a7c9aeb12/doccdn/semantic.css" type="text/css">
<link data-name="vs/editor/editor.main" rel="stylesheet"
href="https://microsoft.github.io/monaco-editor/node_modules/monaco-editor/min/vs/editor/editor.main.css">
<link rel="stylesheet" href="/static/shared/iframeeditor.css">
Expand Down
2 changes: 1 addition & 1 deletion docs/screenshot-tool.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<link rel="stylesheet" href="https://pxt.azureedge.net/blob/2163189fd5e35c0981ed55318415582a7c9aeb12/doccdn/semantic.css" type="text/css">
<link rel="stylesheet" href="https://cdn.makecode.com/blob/2163189fd5e35c0981ed55318415582a7c9aeb12/doccdn/semantic.css" type="text/css">
<link data-name="vs/editor/editor.main" rel="stylesheet"
href="https://microsoft.github.io/monaco-editor/node_modules/monaco-editor/min/vs/editor/editor.main.css">
<link rel="stylesheet" href="/static/shared/iframeeditor.css">
Expand Down
4 changes: 2 additions & 2 deletions docs/static/game-modder/static/js/main.3b636953.chunk.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/tutorial-tool.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<link rel="stylesheet" href="https://pxt.azureedge.net/blob/2163189fd5e35c0981ed55318415582a7c9aeb12/doccdn/semantic.css" type="text/css">
<link rel="stylesheet" href="https://cdn.makecode.com/blob/2163189fd5e35c0981ed55318415582a7c9aeb12/doccdn/semantic.css" type="text/css">
<link data-name="vs/editor/editor.main" rel="stylesheet"
href="https://microsoft.github.io/monaco-editor/node_modules/monaco-editor/min/vs/editor/editor.main.css">
<link rel="stylesheet" href="/static/shared/iframeeditor.css">
Expand Down
8 changes: 4 additions & 4 deletions pxtlib/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -373,10 +373,10 @@ namespace pxt {
typeScriptWorkerJs: string; // /beta---tsworker
pxtVersion: string; // "?",
pxtRelId: string; // "9e298e8784f1a1d6787428ec491baf1f7a53e8fa",
pxtCdnUrl: string; // "https://pxt.azureedge.net/commit/9e2...e8fa/",
commitCdnUrl: string; // "https://pxt.azureedge.net/commit/9e2...e8fa/",
blobCdnUrl: string; // "https://pxt.azureedge.net/commit/9e2...e8fa/",
cdnUrl: string; // "https://pxt.azureedge.net"
pxtCdnUrl: string; // "https://cdn.makecode.com/commit/9e2...e8fa/",
commitCdnUrl: string; // "https://cdn.makecode.com/commit/9e2...e8fa/",
blobCdnUrl: string; // "https://cdn.makecode.com/commit/9e2...e8fa/",
cdnUrl: string; // "https://cdn.makecode.com"
targetUrl: string; // "https://pxt.microbit.org"
targetVersion: string; // "?",
targetRelId: string; // "9e298e8784f1a1d6787428ec491baf1f7a53e8fa",
Expand Down
2 changes: 1 addition & 1 deletion webapp/public/asseteditor.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
var pxtConfig = null;
</script>
<script type="text/javascript" src="/blb/target.js"></script>
<!-- <script type="text/javascript" src="https://pxt.azureedge.net/blob/ec765d3ba50a09c8c8819ec80390b6ffa72e945a/target.js"></script> -->
<!-- <script type="text/javascript" src="https://cdn.makecode.com/blob/ec765d3ba50a09c8c8819ec80390b6ffa72e945a/target.js"></script> -->
<script type="text/javascript" src="/blb/pxtapp.js"></script>
<script>
pxt.setAppTarget(pxtTargetBundle);
Expand Down

0 comments on commit 30616db

Please sign in to comment.