koishi-plugin-checkgal 1.6.6 → 1.6.7

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.
Files changed (2) hide show
  1. package/lib/api.js +2 -2
  2. package/package.json +1 -1
package/lib/api.js CHANGED
@@ -8,7 +8,7 @@ class TouchGalAPI {
8
8
  this.logger = ctx.logger('checkgal-api');
9
9
  }
10
10
  async searchGame(keyword, config) {
11
- const url = 'https://www.touchgal.us/api/search';
11
+ const url = 'https://www.touchgal.top/api/search';
12
12
  const headers = { 'Content-Type': 'application/json' };
13
13
  const queryString = JSON.stringify([{ type: 'keyword', name: keyword }]);
14
14
  const payload = {
@@ -47,7 +47,7 @@ class TouchGalAPI {
47
47
  }
48
48
  }
49
49
  async getDownloads(patchId) {
50
- const url = 'https://www.touchgal.us/api/patch/resource';
50
+ const url = 'https://www.touchgal.top/api/patch/resource';
51
51
  try {
52
52
  const responseData = await this.http.get(url, {
53
53
  params: { patchId },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "koishi-plugin-checkgal",
3
- "version": "1.6.6",
3
+ "version": "1.6.7",
4
4
  "scripts": {
5
5
  "build": "tsc"
6
6
  },