feat: migrate to vite and hono

This commit is contained in:
2025-06-04 11:46:50 +09:00
committed by Satsuki Akiba (aider)
parent 80d48a1f8c
commit ac8dd91b7f
8 changed files with 192 additions and 111 deletions

View File

@ -21,7 +21,7 @@ const __dirname = path.dirname(__filename);
async function main() {
const parser = new Parser<FeedItem>();
const feedUrlsFile = process.env.FEED_URLS_FILE ?? "feed_urls.txt";
const feedUrlsFile = import.meta.env["FEED_URLS_FILE"] ?? "feed_urls.txt";
const feedUrlsPath = path.resolve(__dirname, "..", feedUrlsFile);
let feedUrls: string[];
try {