Commit a0b50a01 authored by 神楽坂玲奈's avatar 神楽坂玲奈 Committed by Ma

config

parent cae837c5
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
"welcome": "YGOPRO Server", "welcome": "YGOPRO Server",
"update": "请更新游戏版本", "update": "请更新游戏版本",
"stop": false, "stop": false,
"tips": "http://mercury233.me/ygosrv233/tips.json", "tips": "http://mycard.moe/ygopro/tips.json",
"dialogues": "http://mercury233.me/ygosrv233/dialogues.json", "dialogues": "http://mycard.moe/ygopro/dialogues.json",
"redis_port": 6379, "redis_port": 6379,
"enable_random_duel": false, "enable_random_duel": false,
"mycard_auth": "https://ygobbs.com", "mycard_auth": "https://ygobbs.com",
......
...@@ -324,7 +324,7 @@ ygopro.ctos_follow 'JOIN_GAME', false, (buffer, info, client, server)-> ...@@ -324,7 +324,7 @@ ygopro.ctos_follow 'JOIN_GAME', false, (buffer, info, client, server)->
baseUrl: settings.modules.mycard_auth, baseUrl: settings.modules.mycard_auth,
url: '/users/' + encodeURIComponent(client.name) + '.json' url: '/users/' + encodeURIComponent(client.name) + '.json'
qs: qs:
api_key: '69675c315dfae3d7224688f2c56cf7d3f5016e7cf63f289d945709f11528b02e', api_key: 'dc7298a754828b3d26b709f035a0eeceb43e73cbd8c4fa8dec18951f8a95d2bc',
api_username: client.name, api_username: client.name,
skip_track_visit: true skip_track_visit: true
json: true json: true
...@@ -872,4 +872,4 @@ if settings.modules.http ...@@ -872,4 +872,4 @@ if settings.modules.http
key: fs.readFileSync(settings.modules.http.ssl.key) key: fs.readFileSync(settings.modules.http.ssl.key)
https_server = https.createServer(options, requestListener) https_server = https.createServer(options, requestListener)
roomlist.init https_server, Room roomlist.init https_server, Room
https_server.listen settings.modules.http.ssl.port https_server.listen settings.modules.http.ssl.port
\ No newline at end of file
...@@ -352,7 +352,7 @@ ...@@ -352,7 +352,7 @@
baseUrl: settings.modules.mycard_auth, baseUrl: settings.modules.mycard_auth,
url: '/users/' + encodeURIComponent(client.name) + '.json', url: '/users/' + encodeURIComponent(client.name) + '.json',
qs: { qs: {
api_key: '69675c315dfae3d7224688f2c56cf7d3f5016e7cf63f289d945709f11528b02e', api_key: 'dc7298a754828b3d26b709f035a0eeceb43e73cbd8c4fa8dec18951f8a95d2bc',
api_username: client.name, api_username: client.name,
skip_track_visit: true skip_track_visit: true
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment