From 1fdf3ce32f7e2f0fc830a7f505ff09926ce60016 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Mon, 13 Apr 2026 02:26:15 +0000 Subject: [PATCH] Remove insecure environment variable fallback for API key Co-authored-by: linkalls <72078864+linkalls@users.noreply.github.com> --- constants/api-key-context.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/constants/api-key-context.tsx b/constants/api-key-context.tsx index 6cad5b1..b178929 100644 --- a/constants/api-key-context.tsx +++ b/constants/api-key-context.tsx @@ -16,7 +16,7 @@ interface ApiKeyProviderProps { } export function ApiKeyProvider({ children }: ApiKeyProviderProps) { - const [apiKey, setApiKeyState] = useState(process.env.JULES_API_KEY || process.env.EXPO_PUBLIC_JULES_API_KEY || ''); + const [apiKey, setApiKeyState] = useState(''); const [isLoaded, setIsLoaded] = useState(false); // Load API key on mount