Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lyxal committed Nov 22, 2023
1 parent a9301cb commit 51613ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { incomptabile } from "./incompatible_versions.js";


var codepage = Vyxal.getCodepage()
var sessioncode = ""


const $ = x => document.getElementById(x)
Expand Down Expand Up @@ -253,7 +254,7 @@ window.addEventListener("DOMContentLoaded", e => {
return;
}
// generate random 32 character session string
const sessioncode = Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15);
sessioncode = Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15);
let timeout = 10000
if (flags.value.includes("5")) {
timeout = 5000;
Expand Down

0 comments on commit 51613ce

Please sign in to comment.