r3-config/config.js

63 lines
1.3 KiB
JavaScript

var config = {
vr_pong: {
url: "http://pong.gamewheel.local"
},
vr_racer: {
url: "http://racer.gamewheel.local"
},
editor: {
url: "http://3d-editor.gamewheel.local",
default: {
platform: 'gamewheel',
account: 'root',
subAccount: 'root'
},
uploadPath: '/uploads'
},
api16: {
url: "http://api16.gamewheel.local"
},
tools: {
url: "http://tools.gamewheel.local",
default: {
platform: 'gamewheel',
account: 'root',
subAccount: 'root'
}
},
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: {
mode: 'development'
}
};
if (typeof module !== 'undefined') {
if (typeof require !== 'undefined') {
var secure = require('./secure');
var _ = require('lodash');
_.merge(config, secure);
}
module.exports = config;
}