Skip to content

Commit 965cd40

Browse files
committed
Move codesandbox.dev to codesandbox.test
1 parent cd55319 commit 965cd40

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"start:dynamic": "lerna run dev --scope dynamic-pages --stream",
1717
"start:home": "lerna run start --scope homepage --stream",
1818
"start:test": "lerna run start:test --scope app --stream",
19-
"start:dev_api": "yarn build:deps && (lerna run start --parallel --scope codesandbox-api & lerna run start:dev_api --scope app --stream)",
19+
"start:dev_api": "lerna run start:dev_api --scope app --stream",
2020
"test": "lerna run test --ignore codesandbox-browserfs",
2121
"test:integrations": "lerna exec --scope app --stream -- yarn test:integrations",
2222
"test:jest-lite": "lerna exec --scope app --stream -- yarn run test jest-lite --watch --coverage",

packages/app/scripts/start.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,15 +258,15 @@ function runDevServer(port, protocol, index) {
258258
// Enable HTTPS if the HTTPS environment variable is set to 'true'
259259
https: protocol === 'https',
260260
// contentBase: paths.staticPath,
261-
host: process.env.LOCAL_SERVER ? 'localhost' : 'codesandbox.dev',
261+
host: process.env.LOCAL_SERVER ? 'localhost' : 'codesandbox.test',
262262
disableHostCheck: !process.env.LOCAL_SERVER,
263263
contentBase: false,
264264
clientLogLevel: 'warning',
265265
overlay: true,
266266
proxy: {
267267
'/public/vscode-extensions/**': {
268268
target: `${protocol}://${
269-
process.env.LOCAL_SERVER ? 'localhost:3000' : 'codesandbox.dev'
269+
process.env.LOCAL_SERVER ? 'localhost:3000' : 'codesandbox.test'
270270
}`,
271271
bypass: req => {
272272
if (req.method === 'HEAD') {

packages/common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"test": "jest",
88
"clean": "rimraf lib && yarn rimraf node_modules/@types/react-native",
9-
"start": "yarn clean && (yarn tsc --watch & yarn babel src --out-dir lib --watch & yarn cpx \"src/**/*.{css,svg,png,jpg}\" lib --watch)",
9+
"start": "(yarn tsc --watch & yarn babel src --out-dir lib --watch & yarn cpx \"src/**/*.{css,svg,png,jpg}\" lib --watch)",
1010
"build:dev": "yarn clean && yarn tsc && yarn babel src --out-dir lib && yarn cpx \"src/**/*.{css,svg,png,jpg}\" lib"
1111
},
1212
"dependencies": {

packages/common/src/utils/host.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default () => {
66
}
77

88
if (process.env.NODE_ENV === 'development') {
9-
return 'https://codesandbox.dev';
9+
return 'https://codesandbox.test';
1010
}
1111

1212
if ('STAGING_BRANCH' in process.env) {

packages/common/src/utils/url-generator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const host = () => {
2121
if (process.env.LOCAL_SERVER) {
2222
return 'localhost:3000';
2323
}
24-
return 'codesandbox.dev';
24+
return 'codesandbox.test';
2525
};
2626

2727
export const protocolAndHost = () => `${location.protocol}//${host()}`;

0 commit comments

Comments
 (0)