r3-config/config.js

63 lines
1.3 KiB
JavaScript
Raw Normal View History

2016-09-22 16:29:22 +02:00
var config = {
2016-09-27 11:05:32 +02:00
vr_pong: {
2016-11-08 12:34:17 +01:00
url: "http://pong.gamewheel.local"
2016-09-22 16:29:22 +02:00
},
2016-09-27 11:05:32 +02:00
vr_racer: {
2016-11-08 12:34:17 +01:00
url: "http://racer.gamewheel.local"
2016-09-22 16:29:22 +02:00
},
2016-09-27 11:05:32 +02:00
editor: {
2016-11-01 14:06:08 +01:00
url: "http://3d-editor.gamewheel.local",
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
},
2016-09-27 11:05:32 +02:00
api16: {
2016-11-08 12:34:17 +01:00
url: "http://api16.gamewheel.local"
},
2016-11-07 12:43:38 +01:00
tools: {
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 12:34:17 +01:00
app : {
url: 'http://app.gamewheel.local'
},
api : {
url : 'http://api.gamewheel.local'
},
old_api_runtime : {
url : 'http://api-runtime.gamewheel.local'
},
statistics : {
url : 'http://api-runtime.gamewheel.local'
},
port : {
url: 'http://port.gamewheel.local'
},
gate : {
url: 'http://gate.gamewheel.local'
},
environment: {
2016-11-07 12:43:38 +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 secure = require('./secure');
var _ = require('lodash');
_.merge(config, secure);
}
2016-09-22 16:29:22 +02:00
module.exports = config;
2016-04-26 18:52:58 +02:00
}