mirror of
https://github.com/searxng/searxng.git
synced 2025-07-22 12:49:22 +02:00
[enh] /engines page added
This commit is contained in:
parent
d6c8987575
commit
8b3ca1112c
2 changed files with 32 additions and 1 deletions
|
@ -174,8 +174,13 @@ def index():
|
|||
|
||||
@app.route('/about', methods=['GET'])
|
||||
def about():
|
||||
return render('about.html')
|
||||
|
||||
|
||||
@app.route('/engines', methods=['GET'])
|
||||
def list_engines():
|
||||
global categories
|
||||
return render('about.html', categs=categories.items())
|
||||
return render('engines.html', categs=categories.items())
|
||||
|
||||
|
||||
@app.route('/preferences', methods=['GET', 'POST'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue