Files
Radius/src/components/Loader.astro
T
2025-05-04 23:56:09 -06:00

19 lines
474 B
Plaintext

<script>
import { Settings } from "@utils/settings.ts";
import { SW } from "@utils/proxy.ts";
const settings = new Settings();
const sw = new SW();
const init = async () => {
settings.searchEngine();
settings.proxy();
await sw.wispServer();
}
init();
document.addEventListener('astro:after-swap', async () => {
//const settings = await Settings.getInstance();
settings.theme();
});
</script>