Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web: parse connection url #354

Merged
merged 2 commits into from
Jan 27, 2025
Merged

Web: parse connection url #354

merged 2 commits into from
Jan 27, 2025

Conversation

liuliu-dev
Copy link
Contributor

No description provided.

@liuliu-dev liuliu-dev requested a review from tbantle22 January 27, 2025 21:41
const url = new URLParse(connectionString);
return `${url.hostname}:${url.port}`;
} catch (error) {
console.error("Failed to parse URL in Electron:", error);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this function only used by electron?

@@ -2,7 +2,7 @@
"private": true,
"name": "dolt-workbench",
"description": "SQL workbench for MySQL and PostgreSQL databases",
"version": "0.3.6",
"version": "0.3.8",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happened to 0.3.7?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I forgot to make a PR to change the version number when releasing 0.3.7.

@liuliu-dev liuliu-dev merged commit e1b0bd5 into main Jan 27, 2025
1 check passed
@liuliu-dev liuliu-dev deleted the liuliu/url-parser branch January 27, 2025 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants