mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Fix for previous commit
This commit is contained in:
parent
f2735e6275
commit
a55b253784
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user