mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Lightly massage some of the generated JavaScript
This commit is contained in:
parent
31ad9566e6
commit
1867a3f121
19 changed files with 986 additions and 989 deletions
|
@ -1,43 +1,36 @@
|
|||
// Generated by CoffeeScript 2.4.1
|
||||
var Config;
|
||||
|
||||
Config = (function() {
|
||||
class Config {};
|
||||
class Config {};
|
||||
|
||||
Config.prototype.brokerUrl = 'snowflake-broker.bamsoftware.com';
|
||||
Config.prototype.brokerUrl = 'snowflake-broker.bamsoftware.com';
|
||||
|
||||
Config.prototype.relayAddr = {
|
||||
host: 'snowflake.bamsoftware.com',
|
||||
port: '443'
|
||||
};
|
||||
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";
|
||||
// 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;
|
||||
// Bytes per second. Set to undefined to disable limit.
|
||||
Config.prototype.rateLimitBytes = void 0;
|
||||
|
||||
Config.prototype.minRateLimit = 10 * 1024;
|
||||
Config.prototype.minRateLimit = 10 * 1024;
|
||||
|
||||
Config.prototype.rateLimitHistory = 5.0;
|
||||
Config.prototype.rateLimitHistory = 5.0;
|
||||
|
||||
Config.prototype.defaultBrokerPollInterval = 5.0 * 1000;
|
||||
Config.prototype.defaultBrokerPollInterval = 5.0 * 1000;
|
||||
|
||||
Config.prototype.maxNumClients = 1;
|
||||
Config.prototype.maxNumClients = 1;
|
||||
|
||||
Config.prototype.connectionsPerClient = 1;
|
||||
Config.prototype.connectionsPerClient = 1;
|
||||
|
||||
// TODO: Different ICE servers.
|
||||
Config.prototype.pcConfig = {
|
||||
iceServers: [
|
||||
{
|
||||
urls: ['stun:stun.l.google.com:19302']
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
return Config;
|
||||
|
||||
}).call(this);
|
||||
// TODO: Different ICE servers.
|
||||
Config.prototype.pcConfig = {
|
||||
iceServers: [
|
||||
{
|
||||
urls: ['stun:stun.l.google.com:19302']
|
||||
}
|
||||
]
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue