whoogle-search/app
Ben Busby 5db72a9552
Use scheme in alt replacement if defined
For users running local instances of service alternatives such as
invidious, the alt replacement procedure broke if the scheme of the
original service (almost always https) didn't match the scheme of their
defined local service (likely http).

This adds a small check to see if the alt has a defined scheme, and if
so, removes the original scheme for that result.

Fixes #806
2022-07-13 10:25:51 -06:00
..
models Counter latest result page style changes 2022-06-09 16:35:02 -06:00
static Fix typos [skip ci] (#813) 2022-07-13 10:08:44 -06:00
templates Add more OpenSearch definitions (for images etc.) (#786) 2022-06-27 12:30:41 -06:00
utils Use scheme in alt replacement if defined 2022-07-13 10:25:51 -06:00
__init__.py Check file sizes in session dir before validation 2022-06-16 11:50:13 -06:00
__main__.py Swap out Flask's default web server for Waitress (#32) 2020-05-12 17:14:55 -06:00
filter.py Fixes handling of maps (#792) 2022-06-27 12:33:08 -06:00
request.py Fix typos [skip ci] (#813) 2022-07-13 10:08:44 -06:00
routes.py Use X-Forwarded-Host as url_root when present (#799) 2022-07-05 10:01:47 -06:00