浏览代码

point to correct API

staging
azri 1周前
父节点
当前提交
7d0bbb21f8
共有 4 个文件被更改,包括 8 次插入5 次删除
  1. 5
    2
      .gitignore
  2. 1
    1
      public/js/api/API.js
  3. 1
    1
      public/js/main.js
  4. 1
    1
      resources/js/api/API.js

+ 5
- 2
.gitignore 查看文件

@@ -1,4 +1,6 @@
1
+/.phpunit.cache
1 2
 /node_modules
3
+/public/build
2 4
 /public/hot
3 5
 /public/storage
4 6
 /public/vendor/statamic
@@ -6,13 +8,14 @@
6 8
 /vendor
7 9
 .env
8 10
 .env.backup
11
+.env.production
9 12
 .phpunit.result.cache
10
-.php_cs.cache
11
-docker-compose.override.yml
12 13
 Homestead.json
13 14
 Homestead.yaml
15
+auth.json
14 16
 npm-debug.log
15 17
 yarn-error.log
16 18
 .DS_Store
19
+/.fleet
17 20
 /.idea
18 21
 /.vscode

+ 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://dev.api.thebola.club";
50
+var server_url = "https://api.thebola.club";
51 51
 var API = /*#__PURE__*/function () {
52 52
   function API() {
53 53
     _classCallCheck(this, API);

+ 1
- 1
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://dev.api.thebola.club";
32
+var server_url = "https://api.thebola.club";
33 33
 var API = /*#__PURE__*/function () {
34 34
   function API() {
35 35
     _classCallCheck(this, API);

+ 1
- 1
resources/js/api/API.js 查看文件

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

正在加载...
取消
保存