fix: Opensearch should mirror correct team subdomain

closes #3470
This commit is contained in:
Tom Moor
2022-04-29 22:53:39 -07:00
parent c7e4f491eb
commit 32c1d2e2f8
2 changed files with 5 additions and 5 deletions

View File

@@ -151,7 +151,7 @@ router.get("/robots.txt", (ctx) => {
router.get("/opensearch.xml", (ctx) => {
ctx.type = "text/xml";
ctx.body = opensearchResponse();
ctx.body = opensearchResponse(ctx.request.URL.origin);
});
router.get("/share/:shareId", renderShare);