Skip to content

Commit

Permalink
Dependency upgrade, fix status (#138).
Browse files Browse the repository at this point in the history
  • Loading branch information
dscalzi committed Feb 1, 2021
1 parent a6ca2e8 commit 2743585
Show file tree
Hide file tree
Showing 5 changed files with 159 additions and 82 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ If you want to export the console output, simply right click anywhere on the con

## Development

This section details the setup of a basic developmentment environment.

### Getting Started

**System Requirements**
Expand Down
2 changes: 1 addition & 1 deletion app/assets/js/mojang.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const minecraftAgent = {
const authpath = 'https://authserver.mojang.com'
const statuses = [
{
service: 'sessionserver.mojang.com',
service: 'session.minecraft.net',
status: 'grey',
name: 'Multiplayer Session Service',
essential: true
Expand Down
5 changes: 0 additions & 5 deletions app/assets/js/scripts/landing.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,6 @@ const refreshMojangStatuses = async function(){
for(let i=0; i<statuses.length; i++){
const service = statuses[i]

// Mojang API is broken for sessionserver. https://bugs.mojang.com/browse/WEB-2303
if(service.service === 'sessionserver.mojang.com') {
service.status = 'green'
}

if(service.essential){
tooltipEssentialHTML += `<div class="mojangStatusContainer">
<span class="mojangStatusIcon" style="color: ${Mojang.statusToHex(service.status)};">&#8226;</span>
Expand Down
Loading

0 comments on commit 2743585

Please sign in to comment.