Skip to content

Commit

Permalink
assets.scratch.mit.edu -> scratch-assets.scratch.org
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin committed Aug 10, 2023
1 parent 21084d6 commit 0167f9d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

# Treat SVG files as binary so that their contents don't change due to line
# endings. The contents of SVGs must not change from the way they're stored
# on assets.scratch.mit.edu so that MD5 calculations don't change.
# on scratch-assets.scratch.org so that MD5 calculations don't change.
*.svg binary

# Prefer LF for most file types
Expand Down
2 changes: 1 addition & 1 deletion src/containers/library-item.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class LibraryItem extends React.PureComponent {
render () {
const iconMd5 = this.curIconMd5();
const iconURL = iconMd5 ?
`https://cdn.assets.scratch.mit.edu/internalapi/asset/${iconMd5}/get/` :
`https://scratch-assets.scratch.org/internalapi/asset/${iconMd5}/get/` :
this.props.iconRawURL;
return (
<LibraryItemComponent
Expand Down
2 changes: 1 addition & 1 deletion src/lib/project-fetcher-hoc.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ const ProjectFetcherHOC = function (WrappedComponent) {
vm: PropTypes.instanceOf(VM)
};
ProjectFetcherComponent.defaultProps = {
assetHost: 'https://assets.scratch.mit.edu',
assetHost: 'https://scratch-assets.scratch.org',
projectHost: 'https://scratch-projects.scratch.org'
};

Expand Down
2 changes: 1 addition & 1 deletion src/playground/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
</style>
<link rel="dns-prefetch" href="https://trampoline.turbowarp.org/">
<link rel="dns-prefetch" href="https://scratch-projects.scratch.org/">
<link rel="dns-prefetch" href="https://assets.scratch.mit.edu/">
<link rel="dns-prefetch" href="https://scratch-assets.scratch.org/">
</head>
<body>
<div id="splash" aria-hidden="true">
Expand Down

0 comments on commit 0167f9d

Please sign in to comment.