diff --git a/src/App.tsx b/src/App.tsx new file mode 100644 index 0000000..65e6990 --- /dev/null +++ b/src/App.tsx @@ -0,0 +1,30 @@ +import { Component, createResource, createSignal, For, lazy, Show } from 'solid-js'; + +const host = "https://daisy-ddns.hydev.org/data/api/OS" + +const fetchApi = async () => await (await fetch(host)).json() +export default function App() { + const [api] = createResource(fetchApi) + + return ( +
File Listing
+ {api.loading && "Loading..."} +