diff --git a/app/assets/js/distromanager.js b/app/assets/js/distromanager.js index aca4223..805b060 100644 --- a/app/assets/js/distromanager.js +++ b/app/assets/js/distromanager.js @@ -6,8 +6,8 @@ const ConfigManager = require('./configmanager') // exports.REMOTE_DISTRO_URL = 'http://mc.westeroscraft.com/WesterosCraftLauncher/distribution.json' // exports.REMOTE_DISTRO_URL = 'https://skirda-minecraft-distribution.brzezinski.ru/distribution.json' // exports.REMOTE_DISTRO_URL = 'https://helios-files.geekcorner.eu.org/distribution.json' -// exports.REMOTE_DISTRO_URL = 'http://192.168.88.10:8080/distribution/manifest' -exports.REMOTE_DISTRO_URL = 'http://skirda-nebula.brzezinski.ru/distribution/manifest' +exports.REMOTE_DISTRO_URL = 'http://192.168.88.10:8081/distribution/manifest' +// exports.REMOTE_DISTRO_URL = 'http://skirda-nebula.brzezinski.ru/distribution/manifest' // exports.REMOTE_DISTRO_URL = 'http://gregbrzezinski:8080/distribution/manifest' // exports.REMOTE_DISTRO_URL = 'http://localhost:8080/distribution/files/files/distribution.json' diff --git a/app/assets/js/scripts/loginSkirdaDiscord.js b/app/assets/js/scripts/loginSkirdaDiscord.js index 3a13ba7..3ec956c 100644 --- a/app/assets/js/scripts/loginSkirdaDiscord.js +++ b/app/assets/js/scripts/loginSkirdaDiscord.js @@ -1,8 +1,8 @@ // const http = require('http') // const fs = require('fs') // const {addSkirdaAccount} = require('configmanager') -// const auth_api_url = 'http://192.168.88.10:8083' -const auth_api_url = 'http://skirda-auth.brzezinski.ru' +const auth_api_url = 'http://192.168.88.10:8083' +// const auth_api_url = 'http://skirda-auth.brzezinski.ru' class SkirdaDiscordAuth{ /** @@ -44,10 +44,6 @@ class SkirdaDiscordAuth{ console.error(await resp.text()) return 'TODO error' } - - - - } } @@ -101,6 +97,7 @@ loginSkirdaDiscordButton.addEventListener('click', async () =>{ displayName: skirdaAuth.username } + // AuthManager.addSkirdaAccount(account.uuid, account.token, account.username, account.displayName) AuthManager.addSkirdaAccount(account.uuid, account.token, account.username, account.displayName) setTimeout(() => {