UNPKG

gamerocket

Version:

Gamerocket NodeJS Client Library

26 lines (16 loc) 535 B
(function() { var Environment; Environment = (function() { var DEVELOPMENT_PORT; DEVELOPMENT_PORT = process.env['GATEWAY_PORT'] || '8280'; Environment.Development = new Environment('localhost', DEVELOPMENT_PORT, false); Environment.Production = new Environment('api.gamerocket.io', '443', true); function Environment(server, port, ssl) { this.server = server; this.port = port; this.ssl = ssl; } return Environment; })(); exports.Environment = Environment; }).call(this);