Skip to content

Commit 5e8b340

Browse files
committed
cli: add custom endpoint support
1 parent febef4a commit 5e8b340

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,11 @@ func main() {
2424
token = os.Getenv("DEPLOYS_TOKEN")
2525
authUser = os.Getenv("DEPLOYS_AUTH_USER")
2626
authPass = os.Getenv("DEPLOYS_AUTH_PASS")
27+
endpoint = os.Getenv("DEPLOYS_ENDPOINT")
2728
)
2829

2930
apiClient := &client.Client{
31+
Endpoint: endpoint,
3032
HTTPClient: &http.Client{
3133
Timeout: 15 * time.Second,
3234
},

0 commit comments

Comments
 (0)