From a55b253784c14cc2bc87da508953fe624294d170 Mon Sep 17 00:00:00 2001 From: Armin Date: Mon, 25 Mar 2019 15:37:05 +0100 Subject: [PATCH] Fix for previous commit --- backend/src/activitypub/ActivityPub.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/activitypub/ActivityPub.js b/backend/src/activitypub/ActivityPub.js index f01ae145a..d73750a93 100644 --- a/backend/src/activitypub/ActivityPub.js +++ b/backend/src/activitypub/ActivityPub.js @@ -23,7 +23,7 @@ export { activityPub } export default class ActivityPub { constructor (hostname, port, uri) { - if (hostname === 'localhost') { this.hostname = `${hostname}:${port}` } else { this.hostname = hostname } + this.hostname = hostname this.port = port this.dataSource = new NitroDataSource(uri) this.collections = new Collections(this.dataSource)