Skip to content

Commit b7146d5

Browse files
committed
m
1 parent 2e8e3d7 commit b7146d5

File tree

1 file changed

+1
-1
lines changed
  • packages/database/src/core/util/libs

1 file changed

+1
-1
lines changed

packages/database/src/core/util/libs/parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ export const parseDatabaseURL = function(
166166
);
167167

168168
// If we have a port, use scheme for determining if it's secure.
169-
colonInd = host.indexOf(':');
169+
const colonInd = host.indexOf(':');
170170
if (colonInd >= 0) {
171171
secure = scheme === 'https' || scheme === 'wss';
172172
port = parseInt(host.substring(colonInd + 1), 10);

0 commit comments

Comments
 (0)