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 a6e7f06 commit 03ab083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@
const custom_username = '';
let profile_url = ''
const pathParts = window.location.pathname.split('/').filter(part => part);
const username = custom_username || pathParts[1];
const username = custom_username || pathParts[0];
if (!username || !isValidGitHubUsername(username)) {
profile_url = '';
}
Expand Down

0 comments on commit 03ab083

Please sign in to comment.