1
0
Fork 0
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:
Cadence Fish 2020-02-03 04:09:40 +13:00
parent 6e136dc77a
commit 1fcdfce868
No known key found for this signature in database
GPG key ID: 81015DF9AA8607E1
5 changed files with 23 additions and 4 deletions

View file

@ -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.