@freelog/tools-lib 0.1.157 → 0.1.158

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -44,7 +44,7 @@ function formatDateTime(date, showTime) {
44
44
  */
45
45
 
46
46
  function completeUrlByDomain(domain) {
47
- var origin = "http://" + domain + ".testfreelog.com";
47
+ var origin = "https://" + domain + ".testfreelog.com";
48
48
 
49
49
  if (window.location.origin.includes('.freelog.com')) {
50
50
  origin = "https://" + domain + ".freelog.com";
@@ -3211,7 +3211,7 @@ if (window.location.hostname.includes('.com')) {
3211
3211
  // apiHost = `${window.location.protocol}//qi.${(window.location.host.match(/(?<=\.).*/) || [''])[0]}`;
3212
3212
  // apiHost = window.location.origin.replace('console', 'qi');
3213
3213
  axios.defaults.withCredentials = true;
3214
- axios.defaults.baseURL = /*#__PURE__*/completeUrlByDomain('qi');
3214
+ axios.defaults.baseURL = /*#__PURE__*/completeUrlByDomain('api');
3215
3215
  }
3216
3216
  /**
3217
3217
  * 异常处理程序