Skip to content

Commit b80c569

Browse files
committed
Try only host and port
1 parent f5a0cd8 commit b80c569

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/database/src/api/Database.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import { Provider } from '@firebase/component';
2727
import {
2828
getModularInstance,
2929
createMockUserToken,
30-
deepEqual,
30+
// deepEqual,
3131
EmulatorMockTokenOptions,
3232
getDefaultEmulatorHostnameAndPort
3333
} from '@firebase/util';
@@ -356,8 +356,8 @@ export function connectDatabaseEmulator(
356356
// If the instance has already been started, then silenty fail if this function is called again
357357
// with the same parameters. If the parameters differ then assert.
358358
if (
359-
hostAndPort === db._repoInternal.repoInfo_.host &&
360-
deepEqual(options, repo.repoInfo_.emulatorOptions)
359+
hostAndPort === db._repoInternal.repoInfo_.host //&&
360+
//deepEqual(options, repo.repoInfo_.emulatorOptions)
361361
) {
362362
return;
363363
}

0 commit comments

Comments
 (0)