Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
FunnyDoggs authored Sep 11, 2024
1 parent 9571065 commit 64a768b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
const response = await fetch("https://raw.githubusercontent.com/FunnyDoggs/Eaglercraft1.5.2/main/password.txt");
const pass = await response.text();
const input = document.getElementById("input").value;
if (input === pass) {
if (input === pass.trim()) {
window.location.href += "eaglercraft.html";
} else {
alert("Wrong Password");
Expand Down

0 comments on commit 64a768b

Please sign in to comment.