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.
- package/lib/index.js +0 -6
- 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) => {
|