File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
src/app/store/entities/sandboxes/bundler Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ import delay from '../../../services/delay';
1212const debug = _debug ( 'cs:app:packager' ) ;
1313
1414export const PACKAGER_URL = 'https://webpack-dll-prod.herokuapp.com/v6' ;
15+ export const NEW_PACKAGER_URL =
16+ 'https://42qpdtykai.execute-api.eu-west-1.amazonaws.com/prod/package' ;
1517
1618const RETRY_COUNT = 20 ;
1719
@@ -58,6 +60,12 @@ async function requestPackager(query: string, dispatch: ?Function) {
5860async function callPackager ( dependencies : Object , dispatch : Function ) {
5961 const dependencyUrl = dependenciesToQuery ( dependencies ) ;
6062
63+ try {
64+ window . fetch ( `${ NEW_PACKAGER_URL } /${ dependencyUrl } ` ) ;
65+ } catch ( e ) {
66+ console . error ( e ) ;
67+ }
68+
6169 const result = await requestPackager ( dependencyUrl , dispatch ) ;
6270 return result ;
6371}
You can’t perform that action at this time.
0 commit comments