Introduce an environment variable to disable HTTPS, and use it when fetching WebFinger resources

You can now use USE_HTTPS=0 when debugging the federation locally.
This commit is contained in:
Bat
2018-06-26 16:16:59 +02:00
parent 5bbfd9d1e9
commit f805ec1d53
6 changed files with 19 additions and 14 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ gettext-rs = "0.4"
heck = "0.3.0"
rpassword = "2.0"
serde_json = "1.0"
webfinger = "0.1"
webfinger = "0.2"
[dependencies.diesel]
features = ["postgres", "r2d2", "chrono"]