mirror of
https://github.com/revanced/revanced-website.git
synced 2025-04-29 22:24:31 +02:00
11 lines
313 B
JavaScript
11 lines
313 B
JavaScript
import { readable } from "svelte/store";
|
|
|
|
const fetchPatches = async () => {
|
|
const response = await fetch('https://releases.rvcd.win/patches');
|
|
const json = await response.json();
|
|
console.log(typeof json)
|
|
return json;
|
|
};
|
|
|
|
const PatchesStore = readable(fetchPatches());
|
|
export default PatchesStore; |