Use USE_HTTPS to compute AP URLs

Instead of relying on cfg(debug_assertions)
This commit is contained in:
Bat
2018-06-26 16:21:58 +02:00
parent f805ec1d53
commit 507d3e6183
6 changed files with 16 additions and 17 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ use chrono::NaiveDateTime;
use diesel::{self, QueryDsl, RunQueryDsl, ExpressionMethods, PgConnection};
use std::iter::Iterator;
use plume_common::activity_pub::ap_url;
use ap_url;
use users::User;
use schema::{instances, users};