player, song generation again, home and design fixes
This commit is contained in:
@@ -12,7 +12,7 @@ import { Platform } from "react-native";
|
||||
|
||||
const functionsInstances = {};
|
||||
const emulatorConfigured = {};
|
||||
const emulatorHost = Platform.OS === "web" ? "localhost" : "192.168.1.146";
|
||||
const emulatorHost = Platform.OS === "web" ? "localhost" : "192.168.1.62";
|
||||
|
||||
const configureFunctionsEmulator = (instance, regionKey = "us-central1") => {
|
||||
if (!__DEV__ || !instance?.useEmulator || emulatorConfigured[regionKey]) {
|
||||
@@ -25,7 +25,7 @@ const configureFunctionsEmulator = (instance, regionKey = "us-central1") => {
|
||||
} catch (error) {
|
||||
console.warn(
|
||||
`[firebase] Unable to set functions emulator for region ${regionKey}`,
|
||||
error?.message
|
||||
error?.message,
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user