Compile coffee files and remove them

With,

  ./node_modules/.bin/coffee -b -c Cakefile `find . -path ./node_modules -prune -o -name '*.coffee'`
This commit is contained in:
Arlo Breault 2019-07-06 15:13:06 +02:00
parent 82562fb21d
commit 31ad9566e6
38 changed files with 2277 additions and 1725 deletions

43
proxy/config.js Normal file
View file

@ -0,0 +1,43 @@
// Generated by CoffeeScript 2.4.1
var Config;
Config = (function() {
class Config {};
Config.prototype.brokerUrl = 'snowflake-broker.bamsoftware.com';
Config.prototype.relayAddr = {
host: 'snowflake.bamsoftware.com',
port: '443'
};
// Original non-wss relay:
// host: '192.81.135.242'
// port: 9902
Config.prototype.cookieName = "snowflake-allow";
// Bytes per second. Set to undefined to disable limit.
Config.prototype.rateLimitBytes = void 0;
Config.prototype.minRateLimit = 10 * 1024;
Config.prototype.rateLimitHistory = 5.0;
Config.prototype.defaultBrokerPollInterval = 5.0 * 1000;
Config.prototype.maxNumClients = 1;
Config.prototype.connectionsPerClient = 1;
// TODO: Different ICE servers.
Config.prototype.pcConfig = {
iceServers: [
{
urls: ['stun:stun.l.google.com:19302']
}
]
};
return Config;
}).call(this);