feat: Media stream info in now playing modal (#233)
* feat: add base codec info to player * fix: redundant console.log * chore: translation * fix: only overflow direct play
This commit is contained in:
@@ -15,6 +15,9 @@ function generateConfig(credentials: Credentials): RequestInit {
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieve a copy of the store without getting caught in import cycles.
|
||||
*/
|
||||
export function asyncFetchStore() {
|
||||
return require('@/store').default as Store;
|
||||
}
|
||||
@@ -74,7 +77,7 @@ export async function fetchApi<T>(
|
||||
const data = await response.json();
|
||||
throw data;
|
||||
} catch {
|
||||
throw response;
|
||||
throw new Error('FailedRequest');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user