Proxy Google Docs List Direct
// ────────────────────────────────────────────────────────────── // 3️⃣ (Optional) Health‑check endpoint // ────────────────────────────────────────────────────────────── app.get("/healthz", (_req, res) => res.send("OK"));
const app = express(); const PORT = process.env.PORT || 3000; Proxy Google Docs List
const __filename = fileURLToPath(import.meta.url); const __dirname = path.dirname(__filename); const app = express()
res.json( count: docs.length, docs ); catch (err) console.error("❌ Error while listing Docs:", err); res.status(500).json( error: "Failed to fetch Google Docs list", details: err.message ); ); const PORT = process.env.PORT || 3000