Skip to content

Commit

Permalink
Fix fflate being weird
Browse files Browse the repository at this point in the history
  • Loading branch information
rafa-br34 committed Jan 20, 2025
1 parent 2d003c7 commit 1160a9c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions WEBSITE/Scripts/Main.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,10 @@ async function Main() {
}

function LoadSiteLink() {
let Encoded = (new URL(window.location.href)).searchParams.get("v")
if (!Encoded) { return }
let Encoded = new URL(window.location.href).searchParams.get("v")

if (!Encoded)
return

let Compressed = new Uint8Array(atob(decodeURIComponent(Encoded)).split('').map(Value => Value.charCodeAt(0)))

Expand Down
2 changes: 1 addition & 1 deletion WEBSITE/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<link rel="stylesheet" href="Styles/Main.css"/>

<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
<script src="https://unpkg.com/[email protected]"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/umd/index.js"></script>

<script src="Scripts/Debug.js"></script>
<script src="Scripts/Utilities.js"></script>
Expand Down

0 comments on commit 1160a9c

Please sign in to comment.