security: remove any hardcoded credentials from codebase
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user