浏览代码

fix(ranq-quote): use https for quote retrieval (#13021)

Linda TJ 1 月之前
父节点
当前提交
34e9830dd3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      plugins/rand-quote/rand-quote.plugin.zsh

+ 1 - 1
plugins/rand-quote/rand-quote.plugin.zsh

@@ -8,7 +8,7 @@ function quote {
 
   # Get random quote data
   local data
-  data="$(command curl -s --connect-timeout 2 "http://www.quotationspage.com/random.php" \
+  data="$(command curl -s --connect-timeout 2 "https://www.quotationspage.com/random.php" \
     | iconv -c -f ISO-8859-1 -t UTF-8 \
     | command grep -a -m 1 'dt class="quote"')"