debug urls
This commit is contained in:
parent
496841a776
commit
f2840be1a6
@ -6,8 +6,8 @@ const ConfigManager = require('./configmanager')
|
|||||||
// exports.REMOTE_DISTRO_URL = 'http://mc.westeroscraft.com/WesterosCraftLauncher/distribution.json'
|
// 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://skirda-minecraft-distribution.brzezinski.ru/distribution.json'
|
||||||
// exports.REMOTE_DISTRO_URL = 'https://helios-files.geekcorner.eu.org/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://192.168.88.10:8081/distribution/manifest'
|
||||||
exports.REMOTE_DISTRO_URL = 'http://skirda-nebula.brzezinski.ru/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://gregbrzezinski:8080/distribution/manifest'
|
||||||
// exports.REMOTE_DISTRO_URL = 'http://localhost:8080/distribution/files/files/distribution.json'
|
// exports.REMOTE_DISTRO_URL = 'http://localhost:8080/distribution/files/files/distribution.json'
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
// const http = require('http')
|
// const http = require('http')
|
||||||
// const fs = require('fs')
|
// const fs = require('fs')
|
||||||
// const {addSkirdaAccount} = require('configmanager')
|
// const {addSkirdaAccount} = require('configmanager')
|
||||||
// const auth_api_url = 'http://192.168.88.10:8083'
|
const auth_api_url = 'http://192.168.88.10:8083'
|
||||||
const auth_api_url = 'http://skirda-auth.brzezinski.ru'
|
// const auth_api_url = 'http://skirda-auth.brzezinski.ru'
|
||||||
|
|
||||||
class SkirdaDiscordAuth{
|
class SkirdaDiscordAuth{
|
||||||
/**
|
/**
|
||||||
@ -44,10 +44,6 @@ class SkirdaDiscordAuth{
|
|||||||
console.error(await resp.text())
|
console.error(await resp.text())
|
||||||
return 'TODO error'
|
return 'TODO error'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -101,6 +97,7 @@ loginSkirdaDiscordButton.addEventListener('click', async () =>{
|
|||||||
displayName: skirdaAuth.username
|
displayName: skirdaAuth.username
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// AuthManager.addSkirdaAccount(account.uuid, account.token, account.username, account.displayName)
|
||||||
AuthManager.addSkirdaAccount(account.uuid, account.token, account.username, account.displayName)
|
AuthManager.addSkirdaAccount(account.uuid, account.token, account.username, account.displayName)
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user