mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Update proxy config to take proxy type
This allows badge and standalone proxies to tell the broker what proxy type they are.
This commit is contained in:
parent
7277bb37cd
commit
8ab81fc6cd
7 changed files with 30 additions and 13 deletions
|
@ -172,8 +172,9 @@ var debug, snowflake, config, broker, ui, log, dbg, init, update, silenceNotific
|
|||
|
||||
init = function() {
|
||||
config = new Config;
|
||||
config.proxyType = "webext";
|
||||
ui = new WebExtUI();
|
||||
broker = new Broker(config.brokerUrl);
|
||||
broker = new Broker(config);
|
||||
snowflake = new Snowflake(config, ui, broker);
|
||||
log('== snowflake proxy ==');
|
||||
ui.initToggle();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue