remove http/https protocol
This commit is contained in:
@@ -50,7 +50,7 @@ export class ApiInstanceMastodon {
|
||||
const roles = await this.roleService.getUserPolicies(me?.id ?? null);
|
||||
|
||||
const response: MastodonEntity.Instance = {
|
||||
uri: this.config.url,
|
||||
uri: this.config.url.replace(/^https?:\/\//, ''),
|
||||
title: this.meta.name || 'Sharkey',
|
||||
description: this.meta.description || 'This is a vanilla Sharkey Instance. It doesn\'t seem to have a description.',
|
||||
email: instance.email || '',
|
||||
|
||||
Reference in New Issue
Block a user