Skip to content

Commit 980cb86

Browse files
committed
Remove EU cloud server for now because we do not have the discipline to keep it alive
1 parent 7cd3ae1 commit 980cb86

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

src/components/tw-cloud-variable-badge/cloud-variable-badge.jsx

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,6 @@ const hosts = [
1010
{
1111
name: 'US East',
1212
cloudHost: 'wss://clouddata.turbowarp.org'
13-
},
14-
{
15-
name: 'EU',
16-
cloudHost: 'wss://clouddata-eu.turbowarp.org',
17-
provider: {
18-
name: '9gr',
19-
href: 'https://scratch.mit.edu/users/9gr/'
20-
}
2113
}
2214
];
2315

@@ -63,7 +55,7 @@ const CloudVariableBadge = props => {
6355
}}
6456
/>
6557

66-
{selectedHost ? (
58+
{selectedHost && hosts.length > 1 ? (
6759
<div className={styles.servers}>
6860
<FormattedMessage
6961
defaultMessage="Pick a server near you:"
@@ -80,6 +72,9 @@ const CloudVariableBadge = props => {
8072
/>
8173
))}
8274
</div>
75+
) : selectedHost ? (
76+
// No options, so don't render anything
77+
null
8378
) : (
8479
<FormattedMessage
8580
defaultMessage="Using a custom cloud variable server: {server}"

0 commit comments

Comments
 (0)