Skip to content

Commit 24424ff

Browse files
author
Ives van Hoorne
committed
Move to packager v2
1 parent 798eca4 commit 24424ff

File tree

1 file changed

+1
-5
lines changed
  • src/app/store/entities/sandboxes/bundler

1 file changed

+1
-5
lines changed

src/app/store/entities/sandboxes/bundler/index.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ import logError from '../../../../utils/error';
77

88
const debug = _debug('cs:app:packager');
99

10-
export const PACKAGER_URL = 'https://cdn.jsdelivr.net/webpack/v1';
11-
export const PACKAGER_V2_URL = 'https://cdn.jsdelivr.net/webpack/v2';
10+
export const PACKAGER_URL = 'https://cdn.jsdelivr.net/webpack/v2';
1211

1312
/**
1413
* Request the packager, if retries > 4 it will throw if something goes wrong
@@ -19,9 +18,6 @@ export const PACKAGER_V2_URL = 'https://cdn.jsdelivr.net/webpack/v2';
1918
async function requestPackager(query: string) {
2019
let retries = 0;
2120

22-
// Request packager v2 for cache warmup
23-
callApi(`${PACKAGER_V2_URL}/${query}/manifest.json`);
24-
2521
while (true) {
2622
debug(`Trying to call packager for ${retries} time`);
2723
try {

0 commit comments

Comments
 (0)