浏览代码

Base url on settings

Nicholas Kegler 6 年前
父节点
当前提交
9f6445ccf6
共有 2 个文件被更改,包括 1 次插入2 次删除
  1. 0
    2
      searx/engines/opensemantic.py
  2. 1
    0
      searx/settings.yml

+ 0
- 2
searx/engines/opensemantic.py 查看文件

@@ -13,8 +13,6 @@ from dateutil import parser
13 13
 from json import loads
14 14
 from searx.url_utils import quote
15 15
 
16
-# If your OSS is hosted on another machine you would need to change
17
-# your base_url.
18 16
 base_url = 'http://localhost:8983/solr/opensemanticsearch/'
19 17
 search_string = 'query?q={query}'
20 18
 

+ 1
- 0
searx/settings.yml 查看文件

@@ -467,6 +467,7 @@ engines:
467 467
   - name : opensemanticsearch
468 468
     engine : opensemantic
469 469
     shortcut : oss
470
+    base_url : 'http://localhost:8983/solr/opensemanticsearch/'
470 471
 
471 472
   - name : openstreetmap
472 473
     engine : openstreetmap