Skip to content

Commit

Permalink
Fix uri generation with non-standard ports
Browse files Browse the repository at this point in the history
  • Loading branch information
beatro0t committed Jun 9, 2021
1 parent d32d731 commit 78264c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/src/components/Database.vue
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,12 @@ export default {
form: {
enabled: true,
values: {
uri: `bolt://${new URL(location.href).host}:7687`,
uri: `bolt://${new URL(location.href).host.split(':')[0]}:7687`,
username: this.neo4j.auth.username,
password: this.neo4j.auth.password,
status: "Disconnected",
},
uri_placeholder: `bolt://${new URL(location.href).host}:7687`,
uri_placeholder: `bolt://${new URL(location.href).host.split(':')[0]}:7687`,
password_masked: true,
loading: false,
},
Expand Down

0 comments on commit 78264c0

Please sign in to comment.