remove test frontend calls except wakatime

This commit is contained in:
martin-mfg
2025-10-11 09:47:14 +02:00
parent 431772d76a
commit 7361750310
2 changed files with 2 additions and 11 deletions
+2 -1
View File
@@ -34,6 +34,7 @@ export const CURR_YEAR = 2024;
window.process = {
env: {
PAT_1: 'myDummyPAT',
FETCH_MULTI_PAGE_STARS: 'true',
PAT_1: 'placeholderPAT',
},
};
-10
View File
@@ -150,16 +150,6 @@ const HomeScreen = () => {
};
const ghToken = prompt('input GitHub token:');
process.env['PAT_1'] = ghToken;
await testEndpoint('/api/status/pat-info');
await testEndpoint('/api/status/up');
await testEndpoint('/api?username=martin-mfg');
await testEndpoint('/api/gist?id=bbfce31e0217a3689c8d961a356cb10d');
await testEndpoint(
'/api/pin?username=martin-mfg&repo=openapi-generator',
);
await testEndpoint(
'/api/top-langs?username=anuraghazra&langs_count=4',
);
await testEndpoint('/api/wakatime?username=ffflabs');
console.log('PAT_1: ', process.env.PAT_1);
// console.log(router);