|
.oO SearXNG Developer Documentation Oo.
|
Public Member Functions | |
| Callable|None | get_resolver (self, str name) |
| favicon (self, **replacements) | |
| favicon_data_url (self, **replacements) | |
Static Public Attributes | |
| int | max_age = 60 * 60 * 24 * 7 |
| str | secret_key = get_setting("server.secret_key") |
| int | resolver_timeout = get_setting("outgoing.request_timeout") |
| dict | resolver_map = msgspec.field(default_factory=_initial_resolver_map) |
| str | favicon_path = get_setting("ui.static_path") + "/themes/{theme}/img/empty_favicon.svg" |
| str | favicon_mime_type = "image/svg+xml" |
| searx.favicons.proxy.FaviconProxyConfig.favicon | ( | self, | |
| ** | replacements ) |
Returns pathname and mimetype of the default favicon.
Definition at line 86 of file proxy.py.
References favicon_mime_type, and favicon_path.
| searx.favicons.proxy.FaviconProxyConfig.favicon_data_url | ( | self, | |
| ** | replacements ) |
Returns data image URL of the default favicon.
Definition at line 93 of file proxy.py.
| Callable | None searx.favicons.proxy.FaviconProxyConfig.get_resolver | ( | self, | |
| str | name ) |
Returns the callable object (function) of the resolver with the ``name``. If no resolver is registered for the ``name``, ``None`` is returned.
Definition at line 68 of file proxy.py.
References resolver_map.
|
static |
|
static |
|
static |
|
static |
Definition at line 62 of file proxy.py.
Referenced by get_resolver().
|
static |
|
static |