- 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
15 lines
410 B
JavaScript
15 lines
410 B
JavaScript
const http = require('http');
|
|
|
|
http.get('http://localhost:3001/api/dashboard/tls-versions', {
|
|
headers: {
|
|
'Cookie': 'token=test', // Just checking schema, if it requires auth we might need to mock or use the proxy
|
|
}
|
|
}, (res) => {
|
|
let data = '';
|
|
res.on('data', chunk => data += chunk);
|
|
res.on('end', () => {
|
|
console.log("Response TLS Versions:");
|
|
console.log(data.slice(0, 500));
|
|
});
|
|
});
|