1
0
Fork 0
mirror of https://github.com/cheeaun/phanpy.git synced 2025-05-01 21:00:51 +03:00

Minimum viable Home → Following port

This commit is contained in:
Lim Chee Aun 2023-02-08 00:31:46 +08:00
parent c6c18aae09
commit 9921e487e8
7 changed files with 147 additions and 8 deletions
src/utils

View file

@ -83,6 +83,7 @@ export async function initInstance(client) {
// This is a weird place to put this but here's updating the masto instance with the streaming API URL set in the configuration
// Reason: Streaming WebSocket URL may change, unlike the standard API REST URLs
if (streamingApi || streaming) {
console.log('🎏 Streaming API URL:', streaming || streamingApi);
masto.config.props.streamingApiUrl = streaming || streamingApi;
}
}