mirror of
https://github.com/Kisechan/Mainpage.git
synced 2025-08-29 23:07:18 +00:00
更新 .gitignore 文件以包含环境变量,修改多个视图以使用环境变量加载 RSS 源和 YAML 文件
This commit is contained in:
@ -161,7 +161,8 @@ const cleanupGitHubCalendar = () => {
|
||||
};
|
||||
|
||||
const fetchRSSFeed = async () => {
|
||||
const rssUrl = "https://blog.kisechan.space/atom.xml";
|
||||
const rssUrl = import.meta.env.VITE_RSS_FEED_URL;
|
||||
console.log("Fetching RSS Feed:", rssUrl);
|
||||
try {
|
||||
const response = await fetch(rssUrl);
|
||||
const str = await response.text();
|
||||
|
Reference in New Issue
Block a user