mirror of
https://github.com/maierfelix/POGOserver.git
synced 2026-07-15 07:40:57 -05:00
Client provider configurable
- Client provider can get choosed now, either google or ptc
This commit is contained in:
parent
5479c0a737
commit
b92bd36ce0
1
cfg.js
1
cfg.js
|
|
@ -33,6 +33,7 @@ export const SERVER_MYSQL_USERNAME = "USERNAME";
|
|||
export const SERVER_MYSQL_PASSWORD = "PASSWORD";
|
||||
|
||||
// account used for pogo-asset-downloader lib
|
||||
export const SERVER_POGO_CLIENT_PROVIDER = "GOOGLE"; // either google or ptc
|
||||
export const SERVER_POGO_CLIENT_USERNAME = "USERNAME";
|
||||
export const SERVER_POGO_CLIENT_PASSWORD = "PASSWORD";
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "POGOServer",
|
||||
"version": "0.2.1",
|
||||
"version": "0.2.2",
|
||||
"description": "",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
|||
|
|
@ -82,6 +82,7 @@ class GameServer {
|
|||
|
||||
return new Promise((resolve) => {
|
||||
pogodown.login({
|
||||
provider: String(CFG.SERVER_POGO_CLIENT_PROVIDER).toLowerCase(),
|
||||
username: CFG.SERVER_POGO_CLIENT_USERNAME,
|
||||
password: CFG.SERVER_POGO_CLIENT_PASSWORD,
|
||||
downloadModels: false
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user