whoogle-search/app/utils
Marcell Fülöp ee2d3726af
Use X-Forwarded-Host as url_root when present (#799)
If Whoogle is accessed on a non-standard port _and_ proxied,
this port is lost to the application and `element['src']`s are
incorrectly formed (omitting port).

HTTP x-Forwarded-Host will contain this front port number in
a typical Nginx reverse proxy configuration.
2022-07-05 10:01:47 -06:00
..
__init__.py Project refactor (#85) 2020-06-02 12:54:47 -06:00
bangs.py Fall back to netloc for bang search if query is empty 2022-04-20 14:50:32 -06:00
misc.py Use X-Forwarded-Host as url_root when present (#799) 2022-07-05 10:01:47 -06:00
results.py Ensure currency link parent exists before parsing 2022-06-16 10:28:06 -06:00
search.py Use X-Forwarded-Host as url_root when present (#799) 2022-07-05 10:01:47 -06:00
session.py Improve public instance session management (#480) 2021-11-17 19:35:30 -07:00