Skip to content

Commit

Permalink
feat: clean scripts and html generation removal
Browse files Browse the repository at this point in the history
  • Loading branch information
sunithvs committed Dec 30, 2024
1 parent 03ab083 commit 9b74db6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -318,10 +318,10 @@
&& githubUsernameRegex.test(username);
}
// Function to fetch user profile data
const custom_username = '';
const custom_username = 'suni';
let profile_url = ''
const pathParts = window.location.pathname.split('/').filter(part => part);
const username = custom_username || pathParts[0];
const username = pathParts[0];
if (!username || !isValidGitHubUsername(username)) {
profile_url = '';
}
Expand Down

0 comments on commit 9b74db6

Please sign in to comment.