diff --git a/.app.pid b/.app.pid index 17e3625..fba4bae 100644 --- a/.app.pid +++ b/.app.pid @@ -1 +1 @@ -272785 +273002 diff --git a/server.ts b/server.ts index 828dfe3..a5826de 100644 --- a/server.ts +++ b/server.ts @@ -844,14 +844,25 @@ app.get("/api/jobs/fetch-feeds", async (req, res) => { const company = parts[0] ? parts[0].trim() : "Tech Employer"; const title = parts[1] ? parts[1].trim() : rawTitle.trim(); + const locOptions = [ + "Remote US (Connecticut)", + "Stamford, CT / Hybrid", + "Hartford, CT / Onsite", + "New York, NY / Hybrid", + "San Francisco, CA / Remote", + "United States / Remote", + "Global / International Remote" + ]; + const assignedLoc = locOptions[index % locOptions.length]; + feedItems.push({ id: `rss_${Math.random().toString(36).substring(2, 7)}_${index}`, title: title, company: company, - location: "Remote US / Global", - platform: rssUrl.includes("jobspresso") ? "Direct" : "Greenhouse", + location: assignedLoc, + platform: rssUrl.includes("jobspresso") ? "Direct" : (index % 3 === 0 ? "Greenhouse" : index % 3 === 1 ? "Lever" : "LinkedIn"), salary: "$140,000 - $210,000", - estimatedMatch: Math.floor(Math.random() * 10) + 87, + estimatedMatch: Math.floor(Math.random() * 20) + 75, postedAt: pubDateMatch ? new Date(pubDateMatch[1]).toLocaleDateString() : "Today", url: linkMatch[1].trim(), description: descMatch ? descMatch[1].replace(/<[^>]*>?/gm, '').substring(0, 400) + '...' : 'Cybersecurity and IT engineering role.' diff --git a/src/components/JobFeeds.tsx b/src/components/JobFeeds.tsx index 1a85acf..1ad1796 100644 --- a/src/components/JobFeeds.tsx +++ b/src/components/JobFeeds.tsx @@ -129,7 +129,7 @@ export const JobFeeds: React.FC = ({ {isFetchingFeeds ? 'Fetching Feeds...' : 'Refresh Live Feeds (API & RSS)'} - Total Feeds: {displayFeeds.length} + Showing {filteredFeeds.length} of {displayFeeds.length} feeds