mirror of
https://github.com/searxng/searxng.git
synced 2025-12-23 12:10:00 +00:00
[mod] https rewrite pluginification
This commit is contained in:
@@ -14,13 +14,15 @@ along with searx. If not, see < http://www.gnu.org/licenses/ >.
|
||||
|
||||
(C) 2015 by Adam Tauber, <asciimoo@gmail.com>
|
||||
'''
|
||||
from searx.plugins import (self_ip,
|
||||
search_on_category_select)
|
||||
from searx import logger
|
||||
from sys import exit
|
||||
from searx import logger
|
||||
|
||||
logger = logger.getChild('plugins')
|
||||
|
||||
from searx.plugins import (https_rewrite,
|
||||
self_ip,
|
||||
search_on_category_select)
|
||||
|
||||
required_attrs = (('name', str),
|
||||
('description', str),
|
||||
('default_on', bool))
|
||||
@@ -68,5 +70,6 @@ class PluginStore():
|
||||
|
||||
|
||||
plugins = PluginStore()
|
||||
plugins.register(https_rewrite)
|
||||
plugins.register(self_ip)
|
||||
plugins.register(search_on_category_select)
|
||||
|
||||
Reference in New Issue
Block a user