Update API Keys and fix frontend bugs
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
const fs = require('fs');
|
||||
|
||||
async function run() {
|
||||
const res = await fetch('https://deploy.digifox.live/api/v1/projects/kozt3dmpa63penhin84sb8r0/ijga3o6m6arup69yohj2ecyw', {
|
||||
headers: {
|
||||
'Authorization': 'Bearer 4|lL3pgQVbfLb6KtUByDLaswjP4Jccny8HMj5jrs0v4ace4e78',
|
||||
'Accept': 'application/json'
|
||||
}
|
||||
});
|
||||
const data = await res.json();
|
||||
for (const app of data.applications || []) {
|
||||
console.log(`App: ${app.name}, UUID: ${app.uuid}`);
|
||||
console.log(` Internal Name: ${app.settings?.custom_internal_name || 'NONE'}`);
|
||||
console.log(` FQDN: ${app.fqdn}`);
|
||||
console.log(` Repo: ${app.git_repository}#${app.git_branch}`);
|
||||
}
|
||||
}
|
||||
run();
|
||||
Reference in New Issue
Block a user