79 lines
1.6 KiB
JavaScript
79 lines
1.6 KiB
JavaScript
var config = {
|
|
vr_pong: {
|
|
url: "http://3doo.gamewheel.com"
|
|
},
|
|
vr_racer: {
|
|
url: "http://3d-racing.gamewheel.com"
|
|
},
|
|
editor: {
|
|
url: "http://3d-editor.gamewheel.com",
|
|
default: {
|
|
platform: 'gamewheel',
|
|
account: 'root',
|
|
subAccount: 'root'
|
|
},
|
|
uploadPath: '/uploads'
|
|
},
|
|
pong_editor: {
|
|
url: "http://3d-pong-editor.gamewheel.com",
|
|
default: {
|
|
platform: 'gamewheel',
|
|
account: 'root',
|
|
subAccount: 'root'
|
|
},
|
|
uploadPath: '/uploads'
|
|
},
|
|
api16: {
|
|
url: "http://api16.gamewheel.com",
|
|
},
|
|
api16pong: {
|
|
url: "http://api16pong.gamewheel.com",
|
|
},
|
|
tools: {
|
|
url: "http://tools.gamewheel.com",
|
|
default: {
|
|
platform: 'gamewheel',
|
|
account: 'root',
|
|
subAccount: 'root'
|
|
}
|
|
},
|
|
app: {
|
|
url: 'http://app.gamewheel.com'
|
|
},
|
|
api: {
|
|
url: 'http://api.gamewheel.com'
|
|
},
|
|
api_runtime: {
|
|
url: 'http://api-runtime.gamewheel.com',
|
|
version: "1.0.0"
|
|
},
|
|
masker: {
|
|
url: 'http://masker.gamewheel.com'
|
|
},
|
|
statistics: {
|
|
url: 'http://api-runtime.gamewheel.com'
|
|
},
|
|
port: {
|
|
url: 'http://port.gamewheel.com'
|
|
},
|
|
gate: {
|
|
url: 'http://gate.gamewheel.com'
|
|
},
|
|
environment: {
|
|
mode: 'production'
|
|
}
|
|
};
|
|
|
|
if (typeof module !== 'undefined') {
|
|
|
|
if (typeof require !== 'undefined') {
|
|
var secure = require('./secure');
|
|
var _ = require('lodash');
|
|
|
|
_.merge(config, secure);
|
|
}
|
|
|
|
module.exports = config;
|
|
}
|
|
|