File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -97,8 +97,6 @@ export class API {
9797 'Authorization' : `Basic ${ toBase64 ( `${ username } :${ password } ` ) } ` ,
9898 'content-type' : 'application/json' ,
9999 } ,
100- // You need to define data field for axios to set content-type header
101- data : null ,
102100 } ) ;
103101
104102 if ( res . status !== 201 ) {
Original file line number Diff line number Diff line change 106106 "ignore-styles" : " 5.0.1" ,
107107 "insert-css" : " 2.0.0" ,
108108 "zombie" : " 5.0.8"
109+ },
110+ "resolutions" : {
111+ "open" : " ^8.4.0"
109112 }
110113}
Original file line number Diff line number Diff line change @@ -34,15 +34,15 @@ gulp.task('serve', () => {
3434 https : true ,
3535 proxies : [ {
3636 source : '/api' ,
37- target : `https://${ st2host } /api` ,
37+ target : `${ process . env . ST2_PROTOCOL || ' https' } ://${ st2host } /api` ,
3838 options,
3939 } , {
4040 source : '/auth' ,
41- target : `https://${ st2host } /auth` ,
41+ target : `${ process . env . ST2_PROTOCOL || ' https' } ://${ st2host } /auth` ,
4242 options,
4343 } , {
4444 source : '/stream' ,
45- target : `https://${ st2host } /stream` ,
45+ target : `${ process . env . ST2_PROTOCOL || ' https' } ://${ st2host } /stream` ,
4646 options,
4747 } ] ,
4848 } ) ) ;
You can’t perform that action at this time.
0 commit comments