diff --git a/src/app/data/index.ts b/src/app/data/index.ts index cd1bd4f..af9a877 100644 --- a/src/app/data/index.ts +++ b/src/app/data/index.ts @@ -4,10 +4,6 @@ import fetch from "./http"; let sha = ""; -const totalUrl = "https://rawcdn.githack.com/ahqstore/data/{sha}/db/total"; -const homeUrl = "https://rawcdn.githack.com/ahqstore/data/{sha}/db/home.json"; -const appUrl = - "https://rawcdn.githack.com/ahqstore/data/{sha}/db/apps/{app}.json"; const mapUrl = "https://rawcdn.githack.com/ahqstore/data/{sha}/db/map/{id}.json"; const searchUrl = diff --git a/vite.config.ts b/vite.config.ts index a051654..d42ef60 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -17,7 +17,7 @@ export default defineConfig(async () => ({ server: { port: 1420, strictPort: true, - host: mobile ? "0.0.0.0" : false, + host: mobile ? "192.168.29.218" : false, warmup: { clientFiles: ['./src/components/*.tsx'], },