feat: working android dev environment

This commit is contained in:
2025-04-21 11:06:21 +01:00
parent a5d74a97a6
commit 8cad29a661
14 changed files with 952 additions and 11 deletions

View File

@@ -19,9 +19,7 @@ type BaseRequestParams = Partial<{
method: "GET" | "POST";
}>;
export const base = import.meta.env.DEV
? "http://localhost:3040"
: "https://haystack.johncosta.tech";
export const base = "http://192.168.1.199:3040";
const getBaseRequest = ({ path, body, method }: BaseRequestParams): Request => {
return new Request(`${base}/${path}`, {