mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Document setting the proxyType for metrics
Trac: 32499
This commit is contained in:
parent
af4cc52dc2
commit
1e45d48a3c
6 changed files with 16 additions and 8 deletions
|
@ -169,8 +169,7 @@ var debug, snowflake, config, broker, ui, log, dbg, init, update, silenceNotific
|
|||
return;
|
||||
}
|
||||
|
||||
config = new Config;
|
||||
config.proxyType = "badge";
|
||||
config = new Config("badge");
|
||||
if ('off' !== query.get('ratelimit')) {
|
||||
config.rateLimitBytes = Params.getByteCount(query, 'ratelimit', config.rateLimitBytes);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue