security: remove any hardcoded credentials from codebase

This commit is contained in:
AyrisAI
2026-08-20 02:39:21 +03:00
parent f5eebed0a7
commit 3257f7fe57
3 changed files with 8 additions and 9 deletions
+1 -2
View File
@@ -1,7 +1,6 @@
import { supabase } from "./supabase";
const DEFAULT_API_URL = "https://api.menul.io";
const API_URL = process.env.EXPO_PUBLIC_API_URL || DEFAULT_API_URL;
const API_URL = process.env.EXPO_PUBLIC_API_URL ?? "http://localhost:3001";
async function authHeaders(): Promise<Record<string, string>> {
const { data } = await supabase.auth.getSession();