Files
Deep-Package-Inspection/test/test-fetch.js
T
rafif dd4c8f6876 feat(source2): push all latest files - device labeling, help system, proxy docs, database isolation fix
- Added DOKUMENTASI-FILTER-PER-SITE.md (site isolation docs)
- Fixed start-with-env.js to force-load .env.production
- Fixed MONGODB_URI hostname from mongodb-netify to mongodb.prod.proit.id
- Updated .gitignore to exclude sensitive scripts and credential files
- Minor UI and labeling improvements
2026-07-29 14:14:29 +07:00

16 lines
492 B
JavaScript

const path = require('path');
require('dotenv').config({ path: './.env.local' });
const { netifyFetch } = require('../proxy/netifyClientCore');
async function main() {
console.log('Testing netifyFetch...');
console.log('API Key:', process.env.NETIFY_API_KEY);
const start = Date.now();
const data = await netifyFetch('/lookup/applications', { settings_limit: 5 });
console.log('Done in:', Date.now() - start, 'ms');
console.log('Data:', data);
}
main().catch(console.error);