2016-09-22 16:29:22 +02:00
|
|
|
var config = {
|
2016-09-27 11:05:32 +02:00
|
|
|
vr_pong: {
|
2017-01-24 12:55:37 +01:00
|
|
|
url: "http://3d-pong.gamewheel.local"
|
2016-09-22 16:29:22 +02:00
|
|
|
},
|
2016-09-27 11:05:32 +02:00
|
|
|
vr_racer: {
|
2017-01-24 12:55:37 +01:00
|
|
|
url: "http://3d-racing.gamewheel.local"
|
2016-09-22 16:29:22 +02:00
|
|
|
},
|
2016-09-27 11:05:32 +02:00
|
|
|
editor: {
|
2017-01-24 12:55:37 +01:00
|
|
|
url: "http://3d-editor.gamewheel.local",
|
2016-10-25 17:59:38 +02:00
|
|
|
default: {
|
|
|
|
platform: 'gamewheel',
|
|
|
|
account: 'root',
|
2017-02-23 17:46:50 +01:00
|
|
|
subAccount: 'root',
|
|
|
|
nameOfTheGame: 'test'
|
2017-02-14 02:11:44 +01:00
|
|
|
},
|
|
|
|
uploadPath: '/uploads'
|
2016-09-26 16:15:21 +02:00
|
|
|
},
|
2017-01-24 12:55:37 +01:00
|
|
|
api16: {
|
|
|
|
url: "http://api-v1.6.gamewheel.local"
|
|
|
|
},
|
|
|
|
editor_v2: {
|
|
|
|
url: 'http://3d-editor-v2.gamewheel.local',
|
2016-10-25 17:59:38 +02:00
|
|
|
default: {
|
|
|
|
platform: 'gamewheel',
|
|
|
|
account: 'root',
|
2017-01-20 15:30:13 +01:00
|
|
|
subAccount: 'root',
|
|
|
|
nameOfTheGame: 'test'
|
2016-10-25 17:59:38 +02:00
|
|
|
},
|
2016-11-07 12:43:38 +01:00
|
|
|
uploadPath: '/uploads'
|
2016-09-26 16:15:21 +02:00
|
|
|
},
|
2017-01-24 12:55:37 +01:00
|
|
|
api_v2: {
|
2017-02-03 17:13:15 +01:00
|
|
|
url: 'http://api-v2.gamewheel.local',
|
|
|
|
uploadPath : '/uploads'
|
2017-01-24 17:44:43 +01:00
|
|
|
},
|
|
|
|
editor_v3: {
|
|
|
|
url: 'http://3d-editor-v3.gamewheel.local',
|
|
|
|
default: {
|
|
|
|
platform: 'gamewheel',
|
|
|
|
account: 'root',
|
|
|
|
subAccount: 'root',
|
|
|
|
nameOfTheGame: 'test'
|
|
|
|
},
|
|
|
|
uploadPath: '/uploads'
|
|
|
|
},
|
|
|
|
api_v3: {
|
|
|
|
url: 'http://api-v3.gamewheel.local'
|
2016-10-24 15:58:07 +02:00
|
|
|
},
|
2016-11-07 12:43:38 +01:00
|
|
|
tools: {
|
2017-01-24 12:55:37 +01:00
|
|
|
url: "http://tools.gamewheel.local",
|
2016-11-07 15:34:33 +01:00
|
|
|
default: {
|
|
|
|
platform: 'gamewheel',
|
|
|
|
account: 'root',
|
|
|
|
subAccount: 'root'
|
2016-11-07 12:43:38 +01:00
|
|
|
}
|
|
|
|
},
|
2016-11-08 18:30:09 +01:00
|
|
|
app: {
|
2017-01-24 12:55:37 +01:00
|
|
|
url: 'http://app.gamewheel.local'
|
2016-11-08 12:34:17 +01:00
|
|
|
},
|
2016-11-08 18:30:09 +01:00
|
|
|
api: {
|
2017-01-24 12:55:37 +01:00
|
|
|
url: 'http://api.gamewheel.local'
|
2016-11-08 12:34:17 +01:00
|
|
|
},
|
2017-03-20 14:39:22 +01:00
|
|
|
cdn: {
|
|
|
|
url: 'http://cdn.gamewheel.local'
|
|
|
|
},
|
2016-11-08 18:30:09 +01:00
|
|
|
api_runtime: {
|
2017-02-20 15:38:02 +01:00
|
|
|
url: 'http://api-runtime.gamewheel.com',
|
2016-11-08 18:30:09 +01:00
|
|
|
version: "1.0.0"
|
2016-11-08 12:34:17 +01:00
|
|
|
},
|
2017-03-20 14:39:22 +01:00
|
|
|
gate: {
|
|
|
|
url: 'http://gate.gamewheel.local'
|
|
|
|
},
|
|
|
|
content: {
|
|
|
|
url: 'http://content.gamewheel.local'
|
|
|
|
},
|
|
|
|
asset: {
|
|
|
|
url: 'http://asset.gamewheel.local'
|
|
|
|
},
|
2016-11-08 18:30:09 +01:00
|
|
|
masker: {
|
2017-01-24 12:55:37 +01:00
|
|
|
url: 'http://masker.gamewheel.local'
|
2016-11-08 12:34:17 +01:00
|
|
|
},
|
2016-11-08 18:30:09 +01:00
|
|
|
statistics: {
|
2017-01-24 12:55:37 +01:00
|
|
|
url: 'http://api-runtime.gamewheel.local'
|
2016-11-08 18:30:09 +01:00
|
|
|
},
|
|
|
|
port: {
|
2017-01-24 12:55:37 +01:00
|
|
|
url: 'http://port.gamewheel.local'
|
2016-11-08 12:34:17 +01:00
|
|
|
},
|
2016-10-24 15:58:07 +02:00
|
|
|
environment: {
|
2017-01-24 17:44:43 +01:00
|
|
|
mode: 'development'
|
2016-09-22 16:29:22 +02:00
|
|
|
}
|
2016-04-26 18:10:25 +02:00
|
|
|
};
|
2016-04-26 18:52:58 +02:00
|
|
|
|
|
|
|
if (typeof module !== 'undefined') {
|
2016-11-08 12:34:17 +01:00
|
|
|
|
|
|
|
if (typeof require !== 'undefined') {
|
|
|
|
var _ = require('lodash');
|
2017-03-20 14:39:22 +01:00
|
|
|
_.merge(config, require('./secure'));
|
|
|
|
_.merge(config, require('./connection'));
|
|
|
|
_.merge(config, require('./model'));
|
2016-11-08 12:34:17 +01:00
|
|
|
}
|
|
|
|
|
2016-09-22 16:29:22 +02:00
|
|
|
module.exports = config;
|
2016-04-26 18:52:58 +02:00
|
|
|
}
|
|
|
|
|