fix(gateway): deploy native in-project soc-gateway-live container artifact, eliminate ttyd terminal, clean up external static apps, and update English security reports

This commit is contained in:
2026-10-13 01:56:56 +03:00
parent f8917dfa88
commit 1a4a583f8b
31 changed files with 1320 additions and 33 deletions
+23
View File
@@ -0,0 +1,23 @@
const { getAuth } = require('./auth_manager');
async function test() {
const { token, userId } = await getAuth(true); // Force fresh token
console.log('Got fresh token!');
const auth = Buffer.from(userId + ':' + token).toString('base64');
for (let i = 1; i <= 5; i++) {
const res = await fetch(`https://registry.ghaymah.systems/v2/${userId}/soc-gateway/blobs/uploads/`, {
method: 'POST',
headers: { 'Authorization': 'Basic ' + auth }
});
console.log(`Attempt ${i}: Status = ${res.status}`);
if (!res.ok) {
console.log('Error:', await res.text());
} else {
console.log('Location:', res.headers.get('location')?.substring(0, 50));
}
await new Promise(r => setTimeout(r, 1000));
}
}
test().catch(console.error);