r3-config/config.js

67 lines
1.4 KiB
JavaScript

var config = {
vr_pong: {
url: "http://3d-pong.gamewheel.local"
},
vr_racer: {
url: "http://3d-racing.gamewheel.local"
},
editor: {
url: "http://3d-editor.gamewheel.local",
default: {
platform: 'gamewheel',
account: 'root',
subAccount: 'root',
nameOfTheGame: 'test'
},
uploadPath: '/uploads'
},
api16: {
url: "http://api-v1.6.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'
},
cdn: {
url: 'http://cdn.gamewheel.local'
},
gate: {
url: 'http://gate.gamewheel.local'
},
content: {
url: 'http://content.gamewheel.local'
},
asset: {
url: 'http://asset.gamewheel.local'
},
port: {
url: 'http://port.gamewheel.local'
},
environment: {
mode: 'development'
}
};
if (typeof module !== 'undefined') {
if (typeof require !== 'undefined') {
var _ = require('lodash');
_.merge(config, require('./secure'));
_.merge(config, require('./connection'));
_.merge(config, require('./model'));
}
module.exports = config;
}