Skip to content

Commit 457fc92

Browse files
committed
Revert back to io
1 parent 6764a2d commit 457fc92

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/app/scripts/start.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ function addMiddleware(devServer, index) {
229229
devServer.use(
230230
'/api',
231231
proxy({
232-
target: 'https://codesandbox.stream',
232+
target: 'https://codesandbox.io',
233233
changeOrigin: true,
234234
})
235235
);

packages/common/src/components/Preview/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ type State = {
6464
const getSSEUrl = (sandbox?: Sandbox, initialPath: string = '') =>
6565
`https://${sandbox ? `${sandbox.id}.` : ''}sse.${
6666
process.env.NODE_ENV === 'development' || process.env.STAGING
67-
? 'codesandbox.stream'
67+
? 'codesandbox.io'
6868
: host()
6969
}${initialPath}`;
7070

packages/executors/src/serverExecutor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export class ServerExecutor implements IExecutor {
7272
}
7373

7474
private initializeSocket() {
75-
return io(`https://sse.codesandbox.stream`, {
75+
return io(`https://sse.codesandbox.io`, {
7676
autoConnect: false,
7777
transports: ['websocket', 'polling'],
7878
});

0 commit comments

Comments
 (0)