Spaces:
Runtime error
Runtime error
feat: Enhance social media ingestion with `safeFetchJSON` and OpenGraph fallbacks, improve quick analysis error handling, and add database utility scripts.
c70e8aa | import * as dotenv from 'dotenv'; | |
| dotenv.config({ path: '.env.local' }); | |
| const url = process.env.DATABASE_URL || ''; | |
| if (url.includes('localhost') || url.includes('127.0.0.1')) { | |
| console.log('Database URL points to localhost.'); | |
| } else { | |
| console.log('Database URL points to a remote server.'); | |
| } | |