mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-07 04:26:58 +00:00
remove http/https protocol
This commit is contained in:
parent
da7dbd02f4
commit
581cc2b513
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ export class ApiInstanceMastodon {
|
||||||
const roles = await this.roleService.getUserPolicies(me?.id ?? null);
|
const roles = await this.roleService.getUserPolicies(me?.id ?? null);
|
||||||
|
|
||||||
const response: MastodonEntity.Instance = {
|
const response: MastodonEntity.Instance = {
|
||||||
uri: this.config.url,
|
uri: this.config.url.replace(/^https?:\/\//, ''),
|
||||||
title: this.meta.name || 'Sharkey',
|
title: this.meta.name || 'Sharkey',
|
||||||
description: this.meta.description || 'This is a vanilla Sharkey Instance. It doesn\'t seem to have a description.',
|
description: this.meta.description || 'This is a vanilla Sharkey Instance. It doesn\'t seem to have a description.',
|
||||||
email: instance.email || '',
|
email: instance.email || '',
|
||||||
|
|
Loading…
Add table
Reference in a new issue