Skip to content

Commit

Permalink
real
Browse files Browse the repository at this point in the history
  • Loading branch information
nmsderp authored Sep 29, 2024
1 parent 156a337 commit 72ba5cd
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/addons/gamepad/addon.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"matches": [
"https://scratch.mit.edu/projects/*",
"https://penguinmod.com/#*",
"https://snailshare-backend.glitch.me/api/projects/getPublished?type=file&id=*"
"https://snailshare.dreamhosters.com/api/projects/getPublished?type=file&id=*"
]
}
],
Expand All @@ -29,15 +29,15 @@
"matches": [
"https://scratch.mit.edu/projects/*",
"https://penguinmod.com/#*",
"https://snailshare-backend.glitch.me/api/projects/getPublished?type=file&id=*"
"https://snailshare.dreamhosters.com/api/projects/getPublished?type=file&id=*"
]
},
{
"url": "gamepadlib.css",
"matches": [
"https://scratch.mit.edu/projects/*",
"https://penguinmod.com/#*",
"https://snailshare-backend.glitch.me/api/projects/getPublished?type=file&id=*"
"https://snailshare.dreamhosters.com/api/projects/getPublished?type=file&id=*"
]
}
],
Expand Down
4 changes: 2 additions & 2 deletions src/p4/get-project-metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ const getProjectMetadata = async (id) => {
const meta = await request({
url: [
// Hopefully one of these URLs won't be blocked.
`https://snailshare-backend.glitch.me/api/projects/getPublished?id=${id}`,
`https://snailshare-backend.glitch.me/api/projects/getPublished?id=${id}`
`https://snailshare.dreamhosters.com/api/projects/getPublished?id=${id}`,
`https://snailshare.dreamhosters.com/api/projects/getPublished?id=${id}`
],
type: 'json'
});
Expand Down
2 changes: 1 addition & 1 deletion src/packager/load-project.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const fromURL = async (url, progressCallback) => {

const fromID = (id, token, progressCallback) => {
const tokenPart = token ? `?token=${token}` : '';
const url = `https://snailshare-backend.glitch.me/api/projects/getPublished?type=file&id=${id}`;
const url = `https://snailshare.dreamhosters.com/api/projects/getPublished?type=file&id=${id}`;
return fromURL(url, progressCallback);
};

Expand Down
2 changes: 1 addition & 1 deletion static/example.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ <h1>Error</h1>
const {storage, vm} = scaffolding;
storage.addWebStore(
[storage.AssetType.Project],
(asset) => `https://snailshare-backend.glitch.me/api/projects/getPublished?type=file&id=${asset.assetId}`
(asset) => `https://snailshare.dreamhosters.com/api/projects/getPublished?type=file&id=${asset.assetId}`
);
storage.addWebStore(
[storage.AssetType.ImageVector, storage.AssetType.ImageBitmap, storage.AssetType.Sound],
Expand Down

0 comments on commit 72ba5cd

Please sign in to comment.