Skip to content
Snippets Groups Projects

Use webpack for bundling JS libs and move Golang code related to Iframe generation there

Merged Igor Markin requested to merge feature-vcl-webpack-bundle into master
2 files
+ 15
22
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -10,7 +10,9 @@ WopiAPI.prototype.getPassports = function(publicKey, uuid, token, fileID) {
}
};
return axios.post('{{host}}:{{port}}/getPassports', {}, requestConfig);
const urlParts = window.API_HOST.split(':');
return axios.post(urlParts[0] + urlParts[1] + ':8787/getPassports', {}, requestConfig);
};
wopiAPI = new WopiAPI();
Loading