Skip to content

Commit 03ab083

Browse files
committed
feat: clean scripts and html generation removal
1 parent a6e7f06 commit 03ab083

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@
321321
const custom_username = '';
322322
let profile_url = ''
323323
const pathParts = window.location.pathname.split('/').filter(part => part);
324-
const username = custom_username || pathParts[1];
324+
const username = custom_username || pathParts[0];
325325
if (!username || !isValidGitHubUsername(username)) {
326326
profile_url = '';
327327
}

0 commit comments

Comments
 (0)