You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
searxng/searx
Markus Heiser fd5fcdedce [interim fix] static files can't be delivered by HTTP.
Since PR 932 [1][2] static files can't be delivered by HTTP server any longer.

This patch makes the hash paramter in the URL of static files:

    /static/themes/simple/css/searxng.min.css?5fde34a74bc438c7b56ec8c6501e131cc9914bd8

optional.  By default the hash parameter is disabled.

HINT:

  Instances that do not deliver static files by their HTTP server and have a
  long expire time [3] should enable this option.

----

This is only a interim solution, on the long run:

    make static.build.commit

creates files including the file name:

    css/searxng-5fde34a74bc438c7b56ec8c6501e131cc9914bd8.min.css

and a mapping.json with this content[4]

[1] https://github.com/searxng/searxng/issues/964
[2] https://github.com/searxng/searxng/pull/932#issuecomment-1067039518
[3] 5583336440
[4] https://github.com/searxng/searxng/pull/932#issuecomment-1067216426

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
..
answerers [fix] issue reported by pylint 22.1.0 3 years ago
data Merge pull request #934 from searxng/update_data_update_ahmia_blacklist.py 3 years ago
engines fix startpage: update XPath in _fetch_supported_languages 2 years ago
infopage Info: code refactoring & bug fixes 2 years ago
metrics [enh] settings.yml: implement general.enable_metrics 3 years ago
network [mod] remove deprecate code 3 years ago
plugins [mod] infinite_scroll as preference 3 years ago
search [enh] implement a OnlineUrlSearchProcessor 3 years ago
shared [pyright:strict] searx.search.checker.background 3 years ago
static [build] /static 2 years ago
templates simple theme: JS version: the reset button clear the text 2 years ago
translations Merge pull request #859 from return42/fix-814 2 years ago
__init__.py [format.python] initial formatting of the python code 3 years ago
autocomplete.py [fix] brave autocompleter: charset_normalizer issues 3 years ago
babel_extract.py [mod] move category and names of constants to searx/searxng.msg 2 years ago
compat.py [fix] add module for backward compatibility 2 years ago
exceptions.py [pyright:strict] searx.search.checker.background 3 years ago
external_bang.py [fix] external bangs: don't overwrite Bangs in data trie 3 years ago
external_urls.py [format.python] initial formatting of the python code 3 years ago
flaskfix.py [format.python] initial formatting of the python code 3 years ago
languages.py Update searx.data - update_languages.py 3 years ago
locales.py [format.python] initial formatting of the python code 3 years ago
preferences.py [mod] infinite_scroll as preference 3 years ago
query.py [fix] remove broken ? search operator 3 years ago
results.py [simple theme] replace Image_layout.js with flexbox CS impl. 3 years ago
searxng.msg [mod] move category and names of constants to searx/searxng.msg 2 years ago
settings.yml [interim fix] static files can't be delivered by HTTP. 2 years ago
settings_defaults.py [interim fix] static files can't be delivered by HTTP. 2 years ago
settings_loader.py [format.python] initial formatting of the python code 3 years ago
unixthreadname.py [format.python] initial formatting of the python code 3 years ago
utils.py [mod] searx.utils: more typing 3 years ago
version.py [mod] version formatting 3 years ago
webadapter.py [fix] disabling all engines in a category makes the bang search in general 3 years ago
webapp.py [interim fix] static files can't be delivered by HTTP. 2 years ago
webutils.py [mod] URL for the static file contains the sha1 3 years ago