瀏覽代碼

Add dio resolvers

Bob Mottram 7 年之前
父節點
當前提交
a52d3cca71
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7
    0
      src/freedombone-app-searx

+ 7
- 0
src/freedombone-app-searx 查看文件

@@ -772,6 +772,13 @@ function create_searx_config {
772 772
     echo '    tr : Türkçe (Turkish)' >> $settings_file
773 773
     echo '    uk : українська мова (Ukrainian)' >> $settings_file
774 774
     echo '    zh : 中文 (Chinese)' >> $settings_file
775
+    echo '' >> $settings_file
776
+    echo 'doi_resolvers :' >> $settings_file
777
+    echo "    oadoi.org : 'https://oadoi.org/'" >> $settings_file
778
+    echo "    doi.org : 'https://doi.org/'" >> $settings_file
779
+    echo "    doai.io : 'http://doai.io/'" >> $settings_file
780
+    echo '' >> $settings_file
781
+    echo "default_doi_resolver : 'oadoi.org'" >> $settings_file
775 782
 }
776 783
 
777 784
 function upgrade_searx {