1
0

3 Коммитууд 64864f3a9e ... c6df0d41de

Эзэн SHA1 Мессеж Огноо
  limour-dev c6df0d41de 混淆 2 сар өмнө
  limour-dev 62249522b3 backup 2 сар өмнө
  limour-dev 728b403fc6 backup 2 сар өмнө

+ 2 - 0
source/_posts/2023-09-02-【记录】搭建-RSS-阅读器-Miniflux.md

@@ -25,6 +25,8 @@ services:
       - CREATE_ADMIN=1
       - ADMIN_USERNAME=admin   #管理员帐号用户名
       - ADMIN_PASSWORD=test123   #管理员帐号密码,用户名与密码之后可以在网页中进行修改
+      - POLLING_PARSING_ERROR_LIMIT=0
+      - POLLING_SCHEDULER=entry_frequency
     restart: unless-stopped
   db:
     image: postgres:16.2-alpine3.19

+ 7 - 1
source/theme-inject/timeliness.js

@@ -14,4 +14,10 @@
       '<div class="h6">Article Timeliness Reminder</div><p>It has been ' + days + ' days since the article was published, the content may be outdated.' +
       '</p></p></div>');
     }
-  })();
+  })();
+
+var oldHost = "HEXO.".toLowerCase() + 'ruomil'.split('').reverse().join('') + '.' + "top"
+if (window.location.hostname !== oldHost && window.location.hostname !== "localhost") {
+  var newUrl = "https://" + oldHost + window.location.pathname + window.location.search + window.location.hash;
+  window.location.href = newUrl;
+}