From c53eac76f8e7d88eb3a1aa0087d982cf3b775372 Mon Sep 17 00:00:00 2001 From: Owen Date: Wed, 20 Aug 2025 18:50:39 -0700 Subject: [PATCH] Bug fixes around hybrid --- install/main.go | 2 +- install/quickStart.go | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/install/main.go b/install/main.go index 3e9c093c..458edc2c 100644 --- a/install/main.go +++ b/install/main.go @@ -309,7 +309,7 @@ func collectUserInput(reader *bufio.Reader) Config { // Basic configuration fmt.Println("\n=== Basic Configuration ===") for { - response := readString(reader, "Do you want to install Pangolin as a cloud-managed self-hosted node? (yes/no)", "") + response := readString(reader, "Do you want to install Pangolin as a cloud-managed (beta) node? (yes/no)", "") if strings.EqualFold(response, "yes") || strings.EqualFold(response, "y") { config.HybridMode = true break diff --git a/install/quickStart.go b/install/quickStart.go index 0904ce86..28a50ed6 100644 --- a/install/quickStart.go +++ b/install/quickStart.go @@ -13,7 +13,7 @@ import ( const ( FRONTEND_SECRET_KEY = "af4e4785-7e09-11f0-b93a-74563c4e2a7e" // CLOUD_API_URL = "https://pangolin.fossorial.io/api/v1/remote-exit-node/quick-start" - CLOUD_API_URL = "http://localhost:4000/api/v1/remote-exit-node/quick-start" + CLOUD_API_URL = "https://enterprise.fosrl.io/api/v1/remote-exit-node/quick-start" ) // HybridCredentials represents the response from the cloud API @@ -67,6 +67,7 @@ func requestHybridCredentials() (*HybridCredentials, error) { // Set headers req.Header.Set("Content-Type", "application/json") + req.Header.Set("X-CSRF-Token", "x-csrf-protection") // Create HTTP client with timeout client := &http.Client{