diff --git a/assets/privateservers.png b/assets/privateservers.png new file mode 100644 index 0000000..987c109 Binary files /dev/null and b/assets/privateservers.png differ diff --git a/html/offline.html b/html/offline.html index bbc2da8..b5be41b 100644 --- a/html/offline.html +++ b/html/offline.html @@ -17,18 +17,32 @@

Hey, hey

+ +
+ +
+
- + +
+ +
+ +
+ +
+
-
+
@@ -40,13 +54,12 @@ let line = 0 let dialogue = [ - "Hi there!", "Wondering what happened to GDBrowser?", "Well, we got IP banned", "By RubRub himself", "Probably because of spam", - "Fear not, though.", "Things will be worked out ASAP", "And if I obey RubRub's orders...", - "We'll be back in no time", "Plus you get to hang out with me!", "But in the meantime", "Yeah nothing is gonna work", - "API is down as well", "But keep in mind we're on GitHub", "So you can use GDBrowser locally", - "Gotta be big brain for that though...", "At least the icon kit is okay", "Well, mostly", "Anywhooo", - "Enjoy your time here in the Vault", "I'm sure you'll find something to do", "Just stay six feet from me", - "...", ".....", "Yeah that's all I have to say", "You can stop clicking now", + "Hi there!", "We got IP banned again :)", "As usual we don't know why...", "Lately the GD servers have been slow", + "So maybe Rob tried to fix it...", "...by killing GDBrowser??", "Look I really don't know", "Anyways uhhh", + "Hopefully we're back soon", "You're stuck with me for now", "Some features still work though!", + "Accurate leaderboard works fine", "Icon kit too, mostly", "Also, keep in mind we're on GitHub", "So you can use GDBrowser locally", + "Gotta be big brain for that though...", "Anywhooo", "Enjoy your time here in the Vault", "I'm sure you'll find something to do", + "Go buy stocks or something", "...", ".....", "uwu", "Yeah that's all I have to say", "You can stop clicking now", "I'm just gonna repeat myself", "*ahem*" ] diff --git a/index.js b/index.js index c933cb9..6d93a9f 100644 --- a/index.js +++ b/index.js @@ -297,7 +297,7 @@ app.get("/api/achievements", function(req, res) { res.send({achievements, types: app.get('/api/icons', function(req, res) { let sample = [JSON.stringify(sampleIcons[Math.floor(Math.random() * sampleIcons.length)].slice(1))] let iconserver = req.isGDPS ? req.server.name : undefined - res.send({icons: gdIcons, colors: colorList, colorOrder, whiteIcons, server: iconserver, noCopy: req.onePointNine, sample}); + res.send({icons: gdIcons, colors: colorList, colorOrder, whiteIcons, server: iconserver, noCopy: req.onePointNine || req.offline, sample}); }); app.get('*', function(req, res) {