mirror of
https://github.com/ReVanced/revanced-website.git
synced 2026-01-26 04:11:02 +00:00
feat: patches page
This commit is contained in:
11
src/lib/stores/PatchesStore.js
Normal file
11
src/lib/stores/PatchesStore.js
Normal file
@@ -0,0 +1,11 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user