根据 chat 示例创建 game-server,支持分布式部署、域名访问、数据库连接和基础使用
This commit is contained in:
13
game-server/config/master.ts
Normal file
13
game-server/config/master.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
module.exports = {
|
||||
'development': {
|
||||
'id': 'master-server-1',
|
||||
'host': '127.0.0.1',
|
||||
'port': 3005
|
||||
},
|
||||
|
||||
'production': {
|
||||
'id': 'master-server-1',
|
||||
'host': '127.0.0.1',
|
||||
'port': 3005
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user