We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e8e3d7 commit b7146d5Copy full SHA for b7146d5
packages/database/src/core/util/libs/parser.ts
@@ -166,7 +166,7 @@ export const parseDatabaseURL = function(
166
);
167
168
// If we have a port, use scheme for determining if it's secure.
169
- colonInd = host.indexOf(':');
+ const colonInd = host.indexOf(':');
170
if (colonInd >= 0) {
171
secure = scheme === 'https' || scheme === 'wss';
172
port = parseInt(host.substring(colonInd + 1), 10);
0 commit comments