Skip to content

Commit

Permalink
Add webapp favicon
Browse files Browse the repository at this point in the history
Add connection error to UserStats.js
Prepare for 2.0.2
  • Loading branch information
Lezurex committed Mar 31, 2021
1 parent 56edcd3 commit 5a400fd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/main/resources/webapp/app/components/pages/UserStats.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ export default {
}
}
});
request.addEventListener("error", function () {
that.$emit("emitalert", "Verbindung zum Minecraft-Client fehlgeschlagen!");
});
request.send("{i:1}")
let timeout = 500;
window.location.hostname === "localhost" ? timeout = 500 : timeout = 2000;
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/webapp/index.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<html lang="en" xmlns:meta="http://www.w3.org/1999/html">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<link rel="icon" href="https://www.gommehd.net/uploads/images/game/bYQCloWF9bAGe13Hg8eAdryEKzDZ-SL-.png">
<title>StatsAddon</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BmbxuPwQa2lc/FVzBcNJ7UAyJxM6wuqIj61tLrc4wSX0szH/Ev+nYRRuWlolflfl" crossorigin="anonymous">
<link rel="stylesheet" href="/assets/style.css">
Expand Down

0 comments on commit 5a400fd

Please sign in to comment.