Skip to content

Commit

Permalink
make tailscale hostname unique
Browse files Browse the repository at this point in the history
  • Loading branch information
uchouhan committed Apr 10, 2024
1 parent 5c5acb5 commit 4da928f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.env
.idea
2 changes: 1 addition & 1 deletion bin/heroku-tailscale-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ else
tailscale_hostname=${HEROKU_SLUG_COMMIT:0:8}"-$DYNO-$HEROKU_APP_NAME"
fi
else
tailscale_hostname="$TAILSCALE_HOSTNAME"
tailscale_hostname="$TAILSCALE_HOSTNAME-${HEROKU_SLUG_COMMIT:0:8}"
fi
log "Using Tailscale hostname=$tailscale_hostname"

Expand Down

0 comments on commit 4da928f

Please sign in to comment.