diff options
author | Mantas <mistermantas@users.noreply.github.com> | 2017-08-13 17:54:52 +0300 |
---|---|---|
committer | Mantas <mistermantas@users.noreply.github.com> | 2017-08-13 17:54:52 +0300 |
commit | 27de71669d43e6846ae48e53bdd40ea6e77245aa (patch) | |
tree | e33ea4465204a0a0aea6d0f2ca292c6401d97d27 /layouts/index.html | |
parent | bd09010830dc8d1f12ecbdeb65085988fb00fc37 (diff) |
Prepare for status.choraleapp.com
Diffstat (limited to 'layouts/index.html')
-rw-r--r-- | layouts/index.html | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/layouts/index.html b/layouts/index.html index 014892d..3853120 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -56,14 +56,11 @@ <!-- Individual info --> <div class="components"> <div class="component" data-status="" data-id="forums"> - Forums <small class="ping testing">Pinging…</small> + API <small class="ping testing">Pinging…</small> </div> <div class="component" data-status="" data-id="website"> Website <small class="ping testing">Pinging…</small> </div> - <div class="component" data-status="" data-id="gameserver"> - Minecraft server - </div> </div> <br> @@ -87,7 +84,7 @@ * Dev toolset */ - console.log('Welcome to cState! https://github.com/onlinemantas/cstate'); + console.log('Welcome to cState! https://github.com/mistermantas/cstate'); /** * Notifications @@ -251,8 +248,8 @@ */ // Links - const forumPingURL = 'https://forums.polargalaxy.com'; - const websiteURL = 'https://www.polargalaxy.com'; + const forumPingURL = 'https://api.choraleapp.com'; + const websiteURL = 'https://www.choraleapp.com'; // Lib !function(a,b){"function"==typeof define&&define.amd?define([],b):"object"==typeof module&&module.exports?module.exports=b():a.ping=b()}(this,function(){function a(a){return new Promise(function(b,c){var d=new Image;d.onload=function(){b(d)},d.onerror=function(){c(a)},d.src=a+"?random-no-cache="+Math.floor(65536*(1+Math.random())).toString(16)})}function b(b,c){return new Promise(function(d,e){var f=(new Date).getTime(),g=function(){var a=(new Date).getTime()-f;a*=c||1,d(a)};a(b).then(g).catch(g),setTimeout(function(){e(Error("Timeout"))},5e3)})}return b}); |