12345678910111213141516171819202122232425262728293031323334353637 |
- 'use strict';
- var ACTIVITI = ACTIVITI || {};
-
- ACTIVITI.CONFIG = {
-
- 'contextRoot' :window.parent.getMyVue.apiUrl+'/service',
- 'baseUrl':window.parent.getMyVue.apiUrl
- };
- function getWebRootPath() {
- let webRoot = document.location.href;
- webRoot = webRoot.substring(webRoot.indexOf('//') + 2, webRoot.length);
- webRoot = webRoot.substring(webRoot.indexOf('/') + 1, webRoot.length);
- webRoot = webRoot.substring(0, webRoot.indexOf('/'));
- return "/" + webRoot + "/";
- }
|