kinsi55 / BeatSaber_SongDetails

A library which provides access to the ScoreSaber and BeatSaver information of all Songs using a cached local database
MIT License
15 stars 0 forks source link

Add fallback url #2

Closed WGzeyu closed 2 years ago

WGzeyu commented 2 years ago

jsDelivr lost their ICP filing in China yesterday and has been unable to provide services using servers in mainland China, and has now switched to servers near China, which are still available but no longer reliable. https://github.com/jsdelivr/jsdelivr/issues/18348#issuecomment-997777996 I added BeatSaberScrappedData reverse proxy to my server, which is a mainland China server with ICP filing and can provide service reliably in China, except that the bandwidth is only 512KB/s. This server has been providing BeatMods reverse proxy for beatmods-top/ModAssistant and has been running for over a year.

kinsi55 commented 2 years ago

Thank you, I'll ship it for 1.19.

WGzeyu commented 2 years ago

Thank you, I'll ship it for 1.19.

By the way, what is the download timeout time set? The server bandwidth is only 512KB/s.

kinsi55 commented 2 years ago

I believe the timeout only comes into effect if the request hangs / doesnt get any data whatsoever but I will doublecheck that

WGzeyu commented 2 years ago

OK, thanks