Update Copilot sign-up URL based on verification domain (#44085)

Use the url crate to extract the domain from the verification URI and
construct the appropriate Copilot sign-up URL for GitHub or GitHub
Enterprise.

Release Notes:

- Improved github enterprise (ghe) copilot sign in
This commit is contained in:
Moritz Bitsch
2025-12-16 09:48:20 +00:00
committed by GitHub
parent 9c32c29238
commit 9ec147db67
3 changed files with 43 additions and 3 deletions

1
Cargo.lock generated
View File

@@ -3672,6 +3672,7 @@ dependencies = [
"task",
"theme",
"ui",
"url",
"util",
"workspace",
"zlog",