2016-09-22 16:29:22 +02:00
|
|
|
var config = {
|
2016-09-27 11:07:30 +02:00
|
|
|
vr_pong: {
|
2017-01-16 09:19:07 +01:00
|
|
|
port: 3101,
|
2017-01-20 15:33:31 +01:00
|
|
|
url: "http://3doo.gamewheel.com"
|
2016-09-22 16:29:22 +02:00
|
|
|
},
|
2016-09-27 11:07:30 +02:00
|
|
|
vr_racer: {
|
2016-12-19 16:15:09 +01:00
|
|
|
url: "http://3d-racing.gamewheel.com"
|
2016-09-22 16:29:22 +02:00
|
|
|
},
|
2016-09-27 11:07:30 +02:00
|
|
|
editor: {
|
2016-09-26 16:19:13 +02:00
|
|
|
url: "http://3d-editor.gamewheel.com",
|
2016-10-25 17:59:38 +02:00
|
|
|
default: {
|
|
|
|
platform: 'gamewheel',
|
|
|
|
account: 'root',
|
|
|
|
subAccount: 'root'
|
|
|
|
},
|
2016-11-07 12:43:38 +01:00
|
|
|
uploadPath: '/uploads'
|
2016-09-26 16:15:21 +02:00
|
|
|
},
|
2017-01-13 13:47:53 +01:00
|
|
|
pong_editor: {
|
|
|
|
url: "http://3d-pong-editor.gamewheel.com",
|
|
|
|
default: {
|
|
|
|
platform: 'gamewheel',
|
|
|
|
account: 'root',
|
|
|
|
subAccount: 'root'
|
|
|
|
},
|
|
|
|
uploadPath: '/uploads'
|
|
|
|
},
|
2016-09-27 11:07:30 +02:00
|
|
|
api16: {
|
2016-09-26 16:19:13 +02:00
|
|
|
url: "http://api16.gamewheel.com",
|
2016-10-24 15:58:07 +02:00
|
|
|
},
|
2017-01-13 13:47:53 +01:00
|
|
|
api16pong: {
|
|
|
|
url: "http://api16pong.gamewheel.com",
|
|
|
|
},
|
2016-11-07 12:43:38 +01:00
|
|
|
tools: {
|
2016-11-22 10:13:00 +01:00
|
|
|
url: "http://tools.gamewheel.com",
|
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: {
|
2016-11-22 10:13:00 +01:00
|
|
|
url: 'http://app.gamewheel.com'
|
2016-11-08 12:34:17 +01:00
|
|
|
},
|
2016-11-08 18:30:09 +01:00
|
|
|
api: {
|
2016-11-22 10:13:00 +01:00
|
|
|
url: 'http://api.gamewheel.com'
|
2016-11-08 12:34:17 +01:00
|
|
|
},
|
2016-11-08 18:30:09 +01:00
|
|
|
api_runtime: {
|
2016-11-22 10:13:00 +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
|
|
|
},
|
2016-11-08 18:30:09 +01:00
|
|
|
masker: {
|
2016-11-22 10:13:00 +01:00
|
|
|
url: 'http://masker.gamewheel.com'
|
2016-11-08 12:34:17 +01:00
|
|
|
},
|
2016-11-08 18:30:09 +01:00
|
|
|
statistics: {
|
2016-11-22 10:13:00 +01:00
|
|
|
url: 'http://api-runtime.gamewheel.com'
|
2016-11-08 18:30:09 +01:00
|
|
|
},
|
|
|
|
port: {
|
2016-11-22 10:13:00 +01:00
|
|
|
url: 'http://port.gamewheel.com'
|
2016-11-08 12:34:17 +01:00
|
|
|
},
|
2016-11-08 18:30:09 +01:00
|
|
|
gate: {
|
2016-11-22 10:13:00 +01:00
|
|
|
url: 'http://gate.gamewheel.com'
|
2016-10-24 15:58:07 +02:00
|
|
|
},
|
|
|
|
environment: {
|
2016-11-22 10:13:00 +01:00
|
|
|
mode: 'production'
|
2016-09-27 11:07:30 +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 secure = require('./secure');
|
|
|
|
var _ = require('lodash');
|
|
|
|
|
|
|
|
_.merge(config, secure);
|
|
|
|
}
|
|
|
|
|
2016-09-27 11:12:32 +02:00
|
|
|
module.exports = config;
|
2016-04-26 18:52:58 +02:00
|
|
|
}
|
|
|
|
|