Просмотр исходного кода

change API to point to dev.api.thobole.club

staging
azri 1 неделю назад
Родитель
Сommit
e5efbafe9e
3 измененных файлов: 15 добавлений и 15 удалений
  1. 1
    1
      public/js/api/API.js
  2. 13
    13
      public/js/main.js
  3. 1
    1
      resources/js/api/API.js

+ 1
- 1
public/js/api/API.js Просмотреть файл

@@ -47,7 +47,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
47 47
 function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
48 48
 function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
49 49
 function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
50
-var server_url = "https://api.thebola.club";
50
+var server_url = "https://dev.api.thebola.club";
51 51
 var API = /*#__PURE__*/function () {
52 52
   function API() {
53 53
     _classCallCheck(this, API);

+ 13
- 13
public/js/main.js Просмотреть файл

@@ -29,7 +29,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
29 29
 function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
30 30
 function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
31 31
 function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
32
-var server_url = "https://api.thebola.club";
32
+var server_url = "https://dev.api.thebola.club";
33 33
 var API = /*#__PURE__*/function () {
34 34
   function API() {
35 35
     _classCallCheck(this, API);
@@ -10854,7 +10854,7 @@ return jQuery;
10854 10854
 /************************************************************************/
10855 10855
 /******/ 	// The module cache
10856 10856
 /******/ 	var __webpack_module_cache__ = {};
10857
-/******/
10857
+/******/ 	
10858 10858
 /******/ 	// The require function
10859 10859
 /******/ 	function __webpack_require__(moduleId) {
10860 10860
 /******/ 		// Check if module is in cache
@@ -10868,14 +10868,14 @@ return jQuery;
10868 10868
 /******/ 			// no module.loaded needed
10869 10869
 /******/ 			exports: {}
10870 10870
 /******/ 		};
10871
-/******/
10871
+/******/ 	
10872 10872
 /******/ 		// Execute the module function
10873 10873
 /******/ 		__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
10874
-/******/
10874
+/******/ 	
10875 10875
 /******/ 		// Return the exports of the module
10876 10876
 /******/ 		return module.exports;
10877 10877
 /******/ 	}
10878
-/******/
10878
+/******/ 	
10879 10879
 /************************************************************************/
10880 10880
 /******/ 	/* webpack/runtime/compat get default export */
10881 10881
 /******/ 	(() => {
@@ -10888,7 +10888,7 @@ return jQuery;
10888 10888
 /******/ 			return getter;
10889 10889
 /******/ 		};
10890 10890
 /******/ 	})();
10891
-/******/
10891
+/******/ 	
10892 10892
 /******/ 	/* webpack/runtime/define property getters */
10893 10893
 /******/ 	(() => {
10894 10894
 /******/ 		// define getter functions for harmony exports
@@ -10900,7 +10900,7 @@ return jQuery;
10900 10900
 /******/ 			}
10901 10901
 /******/ 		};
10902 10902
 /******/ 	})();
10903
-/******/
10903
+/******/ 	
10904 10904
 /******/ 	/* webpack/runtime/global */
10905 10905
 /******/ 	(() => {
10906 10906
 /******/ 		__webpack_require__.g = (function() {
@@ -10912,12 +10912,12 @@ return jQuery;
10912 10912
 /******/ 			}
10913 10913
 /******/ 		})();
10914 10914
 /******/ 	})();
10915
-/******/
10915
+/******/ 	
10916 10916
 /******/ 	/* webpack/runtime/hasOwnProperty shorthand */
10917 10917
 /******/ 	(() => {
10918 10918
 /******/ 		__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
10919 10919
 /******/ 	})();
10920
-/******/
10920
+/******/ 	
10921 10921
 /******/ 	/* webpack/runtime/make namespace object */
10922 10922
 /******/ 	(() => {
10923 10923
 /******/ 		// define __esModule on exports
@@ -10928,7 +10928,7 @@ return jQuery;
10928 10928
 /******/ 			Object.defineProperty(exports, '__esModule', { value: true });
10929 10929
 /******/ 		};
10930 10930
 /******/ 	})();
10931
-/******/
10931
+/******/ 	
10932 10932
 /************************************************************************/
10933 10933
 var __webpack_exports__ = {};
10934 10934
 // This entry need to be wrapped in an IIFE because it need to be in strict mode.
@@ -11083,7 +11083,7 @@ $(document).ready(function () {
11083 11083
               $(newField).on('click', function () {
11084 11084
                 handleClickFieldLocation(city, state, field_name, newField);
11085 11085
               });
11086
-              $(newField).find('.field-location-img').attr("style", "background-image:url(https://api.thebola.club/files/".concat(photo_path, ")"));
11086
+              $(newField).find('.field-location-img').attr("style", "background-image:url(https://thebola.club/files/".concat(photo_path, ")"));
11087 11087
               $(container).append(newField);
11088 11088
             });
11089 11089
           } catch (err) {
@@ -11123,7 +11123,7 @@ $(document).ready(function () {
11123 11123
             $(newField).on('click', function () {
11124 11124
               handleClickField(slot_rules, newField);
11125 11125
             });
11126
-            $(newField).find('.field-img').attr("style", "background-image:url(https://api.thebola.club/files/".concat(photo_path, ")"));
11126
+            $(newField).find('.field-img').attr("style", "background-image:url(https://thebola.club/files/".concat(photo_path, ")"));
11127 11127
             $(container).append(newField);
11128 11128
           });
11129 11129
         } catch (err) {
@@ -11195,4 +11195,4 @@ $(document).ready(function () {
11195 11195
 })();
11196 11196
 
11197 11197
 /******/ })()
11198
-;
11198
+;

+ 1
- 1
resources/js/api/API.js Просмотреть файл

@@ -1,4 +1,4 @@
1
-const server_url = "https://api.thebola.club";
1
+const server_url = "https://dev.api.thebola.club";
2 2
 
3 3
 export default class API {
4 4
     constructor() {

Загрузка…
Отмена
Сохранить