Skip to content

Commit c756fd6

Browse files
committed
fix
1 parent d14bb44 commit c756fd6

4 files changed

Lines changed: 3 additions & 5 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Create your `config.json` based on the provided examples:
7575
"transport": {
7676
"TargetIP": "216.239.38.120:443",
7777
"SNI": "google.com",
78-
"HostHeader": "googleapis.com"
78+
"HostHeader": "www.googleapis.com"
7979
}
8080
}
8181
```

client_config.json.example

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
{
22
"listen_addr": "127.0.0.1:1080",
33
"storage_type": "google",
4-
"google_folder_id": "YOUR_FOLDER_ID_HERE",
54
"refresh_rate_ms": 200,
65
"flush_rate_ms": 300,
76
"transport": {
87
"TargetIP": "216.239.38.120:443",
98
"SNI": "google.com",
10-
"HostHeader": "googleapis.com",
9+
"HostHeader": "www.googleapis.com",
1110
"InsecureSkipVerify": false
1211
}
1312
}

internal/httpclient/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ type TransportConfig struct {
2020
SNI string
2121

2222
// HostHeader is the Host header to inject in HTTP requests.
23-
// E.g., "googleapis.com"
23+
// E.g., "www.googleapis.com"
2424
HostHeader string
2525

2626
// InsecureSkipVerify allows bypassing certificate validation if necessary.

server_config.json.example

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"storage_type": "google",
3-
"google_folder_id": "YOUR_FOLDER_ID_HERE",
43
"refresh_rate_ms": 100,
54
"flush_rate_ms": 300
65
}

0 commit comments

Comments
 (0)