feat: patches page

This commit is contained in:
afn
2022-10-15 17:05:22 -04:00
parent c32bc268b3
commit 569a19be95
7 changed files with 263 additions and 7 deletions

View 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;