remove test frontend calls except wakatime
This commit is contained in:
@@ -34,6 +34,7 @@ export const CURR_YEAR = 2024;
|
||||
|
||||
window.process = {
|
||||
env: {
|
||||
PAT_1: 'myDummyPAT',
|
||||
FETCH_MULTI_PAGE_STARS: 'true',
|
||||
PAT_1: 'placeholderPAT',
|
||||
},
|
||||
};
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user