mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-11 22:17:21 +03:00
Add pre-fetching on hover with a small segment data cache
This commit is contained in:
@@ -23,8 +23,6 @@ export function asyncRequestToCustomServer(type: string, url: string, data = {},
|
||||
export async function asyncRequestToServer(type: string, address: string, data = {}, headers = {}): Promise<FetchResponse> {
|
||||
const serverAddress = Config.config.testingServer ? CompileConfig.testingServerAddress : Config.config.serverAddress;
|
||||
|
||||
console.log(address, headers)
|
||||
|
||||
return await (asyncRequestToCustomServer(type, serverAddress + address, data, headers));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user