Feat: wisp server switcher

This commit is contained in:
MotorTruck1221
2025-05-03 18:33:50 -06:00
parent ab6f588fb1
commit a2c497363e
7 changed files with 102 additions and 11 deletions
+6 -1
View File
@@ -3,8 +3,13 @@
import { SW } from "@utils/proxy.ts";
const settings = new Settings();
const sw = new SW();
const init = async () => {
settings.searchEngine();
await sw.wispServer();
}
init();
document.addEventListener('astro:after-swap', async () => {
//const settings = await Settings.getInstance();
settings.theme();