koishi-plugin-oni-sync-bot 0.8.6 → 0.8.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/index.js +0 -6
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -537,12 +537,6 @@ var RouteRedirect = class {
537
537
  )}`;
538
538
  router.redirect(targetUrl);
539
539
  });
540
- ctx.server.get("/ggwiki/*", async (router) => {
541
- const suffix = router.params[""] || "";
542
- const queryString = router.querystring ? `?${router.querystring}` : "";
543
- const targetUrl = `https://${this.config.main_site}/${suffix}${queryString}`;
544
- router.redirect(targetUrl);
545
- });
546
540
  }
547
541
  };
548
542
  ((RouteRedirect2) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-oni-sync-bot",
3
3
  "description": "缺氧Wiki站镜像点同步-测试",
4
- "version": "0.8.6",
4
+ "version": "0.8.7",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [