🔗 Add node-fetch import for HTTP requests

This commit is contained in:
2026-01-28 19:07:25 +00:00
parent 9eb91d3075
commit 5785985419

View File

@@ -8,6 +8,7 @@ import express from 'express';
import fs from 'fs';
import path from 'path';
import { fileURLToPath } from 'url';
import fetch from 'node-fetch';
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);