mirror of
https://github.com/fmhy/FMHY-SafeGuard.git
synced 2026-03-11 08:55:40 +00:00
parent
ac362350b1
commit
cdfde5c574
1 changed files with 6 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ const starredListURL =
|
|||
let unsafeSitesRegex = null;
|
||||
let potentiallyUnsafeSitesRegex = null;
|
||||
let safeSites = [];
|
||||
let starredSites = ["https://fmhy.net"];
|
||||
let starredSites = ["https://fmhy.net", "https://fmhy.pages.dev"];
|
||||
|
||||
// Helper function to extract URLs from markdown text
|
||||
function extractUrlsFromMarkdown(markdown) {
|
||||
|
|
@ -150,6 +150,11 @@ async function fetchStarredSites() {
|
|||
starredSites.push("https://fmhy.net");
|
||||
}
|
||||
|
||||
// Ensure fmhy.pages.dev is always in the starred list
|
||||
if (!starredSites.includes("https://fmhy.pages.dev")) {
|
||||
starredSites.push("https://fmhy.pages.dev");
|
||||
}
|
||||
|
||||
console.log("Parsed Starred Sites:", starredSites);
|
||||
} else {
|
||||
console.error("Failed to fetch starred sites:", response.status);
|
||||
|
|
|
|||
Loading…
Reference in a new issue