r3-config/config.js

80 lines
1.7 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'
},
uploadPath: '/uploads'
},
api16: {
url: "http://api-v1.6.gamewheel.local"
},
editor_v2: {
url: 'http://3d-editor-v2.gamewheel.local',
default: {
platform: 'gamewheel',
account: 'root',
subAccount: 'root',
nameOfTheGame: 'test'
},
uploadPath: '/uploads'
},
api_v2: {
url: 'http://api-v2.gamewheel.com'
},
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'
},
api_runtime: {
url: 'http://api-runtime.gamewheel.local',
version: "1.0.0"
},
masker: {
url: 'http://masker.gamewheel.local'
},
statistics: {
url: 'http://api-runtime.gamewheel.local'
},
port: {
url: 'http://port.gamewheel.local'
},
gate: {
url: 'http://gate.gamewheel.local'
},
environment: {
mode: 'production'
}
};
if (typeof module !== 'undefined') {
if (typeof require !== 'undefined') {
var secure = require('./secure');
var _ = require('lodash');
_.merge(config, secure);
}
module.exports = config;
}