2026casino commited on
Commit
d88bec8
·
verified ·
1 Parent(s): 6db6f8d

Update script.js

Browse files
Files changed (1) hide show
  1. script.js +5 -1
script.js CHANGED
@@ -161,4 +161,8 @@ const newGames = [
161
  });
162
  if (typeof lucide !== 'undefined') {
163
  lucide.createIcons();
164
- }
 
 
 
 
 
161
  });
162
  if (typeof lucide !== 'undefined') {
163
  lucide.createIcons();
164
+ }
165
+ if (window.location.pathname.endsWith('/index.html')) {
166
+ var cleanUrl = window.location.protocol + "//" + window.location.host + window.location.pathname.replace('/index.html', '');
167
+ window.history.replaceState({}, document.title, cleanUrl);
168
+ }