Bob Mottram 9 年前
父节点
当前提交
3cf25d3006
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      src/freedombone

+ 1
- 0
src/freedombone 查看文件

@@ -9327,6 +9327,7 @@ function install_search_engine {
9327 9327
     sed -i "s|secret_key.*|secret_key : \"${SEARCH_ENGINE_SECRET_KEY}\"|g" ${SEARCH_ENGINE_PATH}/searx/searx/settings.yml
9328 9328
     sed -i "s|secret_key.*|secret_key : \"${SEARCH_ENGINE_SECRET_KEY}\"|g" ${SEARCH_ENGINE_PATH}/searx/searx/settings_robot.yml
9329 9329
     sed -i "s|base_url.*|base_url : \"http://${SEARCH_ENGINE_ONION_HOSTNAME}\"|g" ${SEARCH_ENGINE_PATH}/searx/searx/settings.yml
9330
+    sed -i "s|base_url.*|base_url : \"http://${SEARCH_ENGINE_ONION_HOSTNAME}\"|g" ${SEARCH_ENGINE_PATH}/searx/searx/settings_robot.yml
9330 9331
 
9331 9332
     # note: this might change to a --tor option in a later version
9332 9333
     if ! grep 'socks5://127.0.0.1:9050' ${SEARCH_ENGINE_PATH}/searx/searx/settings.yml; then