From 1f6bfa092e9d686f3238ec73e5d3cf2e38ae05f0 Mon Sep 17 00:00:00 2001 From: Ben Busby Date: Fri, 24 Apr 2020 18:45:57 -0600 Subject: [PATCH] Complete refactoring of opensearch Refactored opensearch.xml to only exist as a template that is served by a flask route, which is then populated with the necessary url root. --- README.md | 7 ++----- app/filter.py | 5 +++-- app/routes.py | 14 +++++++++++++- app/static/opensearch.template | 13 ------------- app/templates/index.html | 2 +- config/opensearch.py | 21 --------------------- 6 files changed, 19 insertions(+), 43 deletions(-) delete mode 100644 app/static/opensearch.template delete mode 100644 config/opensearch.py diff --git a/README.md b/README.md index 49da1d7..a90e955 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Get Google search results, but without any ads, javascript, AMP links, or tracki - [A Heroku Account](https://www.heroku.com/) - Optional, but recommended. Allows for free hosting of the web app and single-click deployment. - Alternatively, you can host the app using a different service, or deploy it to your own server (explained below). - + If deploying manually: - Docker ([Windows](https://docs.docker.com/docker-for-windows/install/), [macOS](https://docs.docker.com/docker-for-mac/install/), [Ubuntu](https://docs.docker.com/engine/install/ubuntu/), [other Linux distros](https://docs.docker.com/engine/install/binaries/)) - [Heroku CLI](https://devcenter.heroku.com/articles/heroku-cli) @@ -77,10 +77,7 @@ To filter by a range of time, append ":past