Skip to content

Commit 5799430

Browse files
committed
chore: remove extra slash
1 parent 205e6f4 commit 5799430

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ document.addEventListener('DOMContentLoaded', () => {
2222
function assetUrl(path) {
2323
if (!path) return '';
2424
if (/^(https?:)?\//.test(path)) return path; // already absolute or protocol-relative
25-
return `/${String(path).replace(/^\/+/, '')}`;
25+
return `${String(path).replace(/^\/+/, '')}`;
2626
}
2727

2828
// Starting the typing effect (for the welcome screen)

0 commit comments

Comments
 (0)