debug urls

This commit is contained in:
cyber-dream 2024-01-13 20:58:56 +03:00
parent 496841a776
commit f2840be1a6
2 changed files with 5 additions and 8 deletions

View File

@ -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'

View File

@ -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(() => {