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,5 +1,4 @@
const DEFAULT_WEB_URL = "https://menul.io";
const WEB_BASE_URL = process.env.EXPO_PUBLIC_WEB_URL || DEFAULT_WEB_URL;
const WEB_BASE_URL = process.env.EXPO_PUBLIC_WEB_URL || "http://localhost:3000";
export function getPublicMenuUrl(slug: string): string {
if (WEB_BASE_URL.includes("menul.io")) {