mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-21 17:37:29 -07:00
[mastodon-client] Fix streaming API url
This fixes a regression where some clients were unable to connect to the streaming API. The /mastodon suffix was previously removed in other parts of the code as too many clients didn't respect it, however it was not removed here, leaving clients that do respect it are unable to connect.
This commit is contained in:
parent
2192d5c668
commit
c46ea29ba3
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ export class MiscHelpers {
|
|||
email: meta.maintainerEmail || "",
|
||||
version: `4.1.0 (compatible; Iceshrimp ${config.version})`,
|
||||
urls: {
|
||||
streaming_api: `${config.url.replace(/^http(?=s?:\/\/)/, "ws")}/mastodon`,
|
||||
streaming_api: `${config.url.replace(/^http(?=s?:\/\/)/, "ws")}`,
|
||||
},
|
||||
stats: awaitAll({
|
||||
user_count: userCount,
|
||||
|
|
Loading…
Reference in a new issue