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:
parent
c6c18aae09
commit
9921e487e8
7 changed files with 147 additions and 8 deletions
src/utils
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue