File tree 1 file changed +13
-7
lines changed
packages/app/src/sandbox/npm
1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -15,18 +15,24 @@ const debug = _debug('cs:sandbox:packager');
15
15
16
16
const VERSION = 1 ;
17
17
18
- const BUCKET_URL =
19
- process . env . NODE_ENV === 'production' || process . env . NODE_ENV === 'test'
20
- ? 'https://dev-packager-packages.codesandbox.io'
21
- : 'https://d1jyvh0kxilfa7.cloudfront.net' ;
18
+ // Enable this once we are going to work on the new packager again, now force to prod, also in dev
19
+ // const BUCKET_URL =
20
+ // process.env.NODE_ENV === 'production' || process.env.NODE_ENV === 'test'
21
+ // ? 'https://dev-packager-packages.codesandbox.io'
22
+ // : 'https://d1jyvh0kxilfa7.cloudfront.net';
23
+ const BUCKET_URL = 'https://dev-packager-packages.codesandbox.io' ;
22
24
23
25
const NEW_PACKAGER_URL =
24
26
'https://aiwi8rnkp5.execute-api.eu-west-1.amazonaws.com/prod/packages' ;
25
27
28
+ // Enable this once we are going to work on the new packager again, now force to prod, also in dev
29
+ // const PACKAGER_URL =
30
+ // process.env.NODE_ENV === 'production' || process.env.NODE_ENV === 'test'
31
+ // ? 'https://xi5p9f7czk.execute-api.eu-west-1.amazonaws.com/dev/packages'
32
+ // : 'https://drq28qbjmc.execute-api.eu-west-1.amazonaws.com/prod/packages';
33
+
26
34
const PACKAGER_URL =
27
- process . env . NODE_ENV === 'production' || process . env . NODE_ENV === 'test'
28
- ? 'https://xi5p9f7czk.execute-api.eu-west-1.amazonaws.com/dev/packages'
29
- : 'https://drq28qbjmc.execute-api.eu-west-1.amazonaws.com/prod/packages' ;
35
+ 'https://xi5p9f7czk.execute-api.eu-west-1.amazonaws.com/dev/packages' ;
30
36
31
37
function warmupPackager ( url : string , method = 'GET' ) {
32
38
fetch ( url , {
You can’t perform that action at this time.
0 commit comments