Skip to content

Commit 8a057df

Browse files
Fix refFromUrl when used with emulator
1 parent 08aa4b1 commit 8a057df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/database/src/api/Database.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ export class Database implements FirebaseService {
156156

157157
const repoInfo = parsedURL.repoInfo;
158158
if (
159-
!repoInfo.isCustomHost() &&
159+
!this.repo_.repoInfo_.isCustomHost() &&
160160
repoInfo.host !== this.repo_.repoInfo_.host
161161
) {
162162
fatal(

0 commit comments

Comments
 (0)