From fee59d73bc75bfe1dfe3c334b831ec2a282fc016 Mon Sep 17 00:00:00 2001 From: vednoc Date: Wed, 25 Oct 2023 21:29:51 +0200 Subject: [PATCH] fix(search): add base URL to URLs in OpenSearch There were a lot of caching issues in both Firefox and Chromium, as they both cache the XML file once and "never" again. I'm not sure long that lasts, but it's likely that cleaning cached data would evict it from the cache. I, however, just used different ports since it was faster. It's unfortunate that we have to hard-code base URL. I thought it would've inherited it since that's how I made it work the first time around. Ref #275 --- web/static/opensearch.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/static/opensearch.xml b/web/static/opensearch.xml index ee936672..4c91dcdd 100644 --- a/web/static/opensearch.xml +++ b/web/static/opensearch.xml @@ -3,7 +3,7 @@ USw Search Search for userstyles on UserStyles.world UTF-8 - /mascot.svg - - /search + https://userstyles.world/mascot.svg + + https://userstyles.world/search