93 lines
2.0 KiB
JavaScript
93 lines
2.0 KiB
JavaScript
var config = {
|
|
vr_pong: {
|
|
url: "http://3d-pong.cybafelo.local"
|
|
},
|
|
vr_racer: {
|
|
url: "http://3d-racing.cybafelo.local"
|
|
},
|
|
editor: {
|
|
url: "http://3d-editor.cybafelo.local",
|
|
default: {
|
|
platform: 'gamewheel',
|
|
account: 'root',
|
|
subAccount: 'root'
|
|
}
|
|
},
|
|
api16: {
|
|
url: "http://api-v1.6.cybafelo.local"
|
|
},
|
|
editor_v2: {
|
|
url: 'http://3d-editor-v2.cybafelo.local',
|
|
default: {
|
|
platform: 'gamewheel',
|
|
account: 'root',
|
|
subAccount: 'root',
|
|
nameOfTheGame: 'test'
|
|
},
|
|
uploadPath: '/uploads'
|
|
},
|
|
api_v2: {
|
|
url: 'http://api-v2.cybafelo.local',
|
|
uploadPath : '/uploads'
|
|
},
|
|
editor_v3: {
|
|
url: 'http://3d-editor-v3.cybafelo.local',
|
|
default: {
|
|
platform: 'gamewheel',
|
|
account: 'root',
|
|
subAccount: 'root',
|
|
nameOfTheGame: 'test'
|
|
},
|
|
uploadPath: '/uploads'
|
|
},
|
|
api_v3: {
|
|
url: 'http://api-v3.cybafelo.local'
|
|
},
|
|
tools: {
|
|
url: "http://tools.cybafelo.local",
|
|
default: {
|
|
platform: 'gamewheel',
|
|
account: 'root',
|
|
subAccount: 'root'
|
|
}
|
|
},
|
|
app: {
|
|
url: 'http://app.cybafelo.local'
|
|
},
|
|
api: {
|
|
url: 'http://api.cybafelo.local'
|
|
},
|
|
api_runtime: {
|
|
url: 'http://api-runtime.cybafelo.local',
|
|
version: "1.0.0"
|
|
},
|
|
masker: {
|
|
url: 'http://masker.cybafelo.local'
|
|
},
|
|
statistics: {
|
|
url: 'http://api-runtime.cybafelo.local'
|
|
},
|
|
port: {
|
|
url: 'http://port.cybafelo.local'
|
|
},
|
|
gate: {
|
|
url: 'http://gate.cybafelo.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;
|
|
}
|
|
|