mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2026-03-01 18:31:35 +00:00
Add Tor status to home and stats
This commit is contained in:
parent
6e136dc77a
commit
1fcdfce868
5 changed files with 23 additions and 4 deletions
|
|
@ -10,6 +10,10 @@ class TorSwitcher {
|
|||
this.torManager = torManager
|
||||
}
|
||||
|
||||
canUseTor() {
|
||||
return !!this.torManager
|
||||
}
|
||||
|
||||
/**
|
||||
* Request from the URL.
|
||||
* The test function will be called with the response object.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue