Mass refactoring and stackoverflow users parser (#83)
* refactor: public config delete public config, replace with package.json. Update version to 1.6.0 for this pull request. * fix: searx pagination * refactor: type system for routes * refactor: universal redirection * fix: stackoverflow questions add No handler Found error * feat: stackoverflow users parser
This commit is contained in:
@ -10,13 +10,14 @@
|
||||
<span>Search</span>
|
||||
</label>
|
||||
|
||||
<form action="/search" method="get" class="input-grid main-form-search">
|
||||
<form action="/redirect" method="get" class="input-grid main-form-search">
|
||||
<div class="input">
|
||||
<input type="text" name="q" id="search" placeholder="Search">
|
||||
</div>
|
||||
<div class="input">
|
||||
<input type="submit" id="submit" class="button" value="Go">
|
||||
</div>
|
||||
<input type="hidden" name="url" value="<%= config.search.searx_url %>/search"/>
|
||||
</form>
|
||||
|
||||
<% } %>
|
||||
|
@ -4,9 +4,10 @@
|
||||
<%
|
||||
if (config.search.enabled) {
|
||||
%>
|
||||
<form class="form-search" action="/search" method="get">
|
||||
<form class="form-search" action="/redirect" method="get">
|
||||
<input type="text" name="q" id="search" placeholder="Search">
|
||||
<input class="button" type="submit" value="Go"/>
|
||||
<input type="hidden" name="url" value="<%= config.search.searx_url %>/search"/>
|
||||
</form>
|
||||
<%
|
||||
}
|
||||
|
Reference in New Issue
Block a user