ntphuc149 commited on
Commit
eea9f1c
·
verified ·
1 Parent(s): a3f465b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -348,7 +348,7 @@ with tab2:
348
  <script>
349
  const url = new URL(window.location.href);
350
  url.searchParams.delete("code");
351
- window.history.replaceState({}, document.title, url.pathname);
352
  </script>
353
  """, unsafe_allow_html=True)
354
 
 
348
  <script>
349
  const url = new URL(window.location.href);
350
  url.searchParams.delete("code");
351
+ window.location.href = url.pathname;
352
  </script>
353
  """, unsafe_allow_html=True)
354