Skip to content

Commit

Permalink
Save user specified daemon host when using manual install (#245)
Browse files Browse the repository at this point in the history
At least for manual install, currently, a custom host is not saved as
the front-end overwrites it which is quite confusing.
'host.docker.internal' is not resolvable under a Linux install of docker
by default so it might make sense to not enforce this as a default
setting in any case.

Co-authored-by: Alexander Piskun <13381981+bigcat88@users.noreply.github.com>
  • Loading branch information
MB-Finski and bigcat88 authored Mar 4, 2024
1 parent 8dd33d6 commit 105b57f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/DaemonConfig/RegisterDaemonConfigModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ export default {
display_name: this.displayName,
accepts_deploy_id: this.acceptsDeployId,
protocol: this.acceptsDeployId === 'docker-install' ? this.daemonProtocol : 'http',
host: this.acceptsDeployId === 'docker-install' ? this.host : 'host.docker.internal',
host: this.host,
deploy_config: {
net: this.deployConfig.net,
nextcloud_url: this.nextcloud_url,
Expand Down

0 comments on commit 105b57f

Please sign in to comment.