vue-intergrall-plugins 0.0.155 → 0.0.156
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.
|
@@ -7745,7 +7745,8 @@ var axios_1 = axios$1;
|
|
|
7745
7745
|
|
|
7746
7746
|
// Allow use of default import syntax in TypeScript
|
|
7747
7747
|
var _default = axios$1;
|
|
7748
|
-
axios_1.default = _default;var axios = axios_1;
|
|
7748
|
+
axios_1.default = _default;var axios = axios_1;vue__default["default"].prototype.$httpRequest = axios;
|
|
7749
|
+
var baseURL = window.location.hostname == 'localhost' ? "https://linux07/im/atdHumano/middleware/atd_api.php" : "https://".concat(window.location.hostname);
|
|
7749
7750
|
var dev = window.location.hostname == 'localhost' ? '&teste=levchat2' : '';
|
|
7750
7751
|
var standardMessages = {
|
|
7751
7752
|
methods: {
|
|
@@ -7758,7 +7759,7 @@ var standardMessages = {
|
|
|
7758
7759
|
switch (_context.prev = _context.next) {
|
|
7759
7760
|
case 0:
|
|
7760
7761
|
_context.prev = 0;
|
|
7761
|
-
return _context.abrupt("return",
|
|
7762
|
+
return _context.abrupt("return", _this.$httpRequest({
|
|
7762
7763
|
method: 'get',
|
|
7763
7764
|
url: "".concat(baseURL, "/get-messages/").concat(type, "?token_cliente=").concat(token).concat(dev),
|
|
7764
7765
|
headers: {
|