Added more darktheme

- Added more dark theme css
- Merged main branch fixes and new features
- Added todo tag for custom timeout
This commit is contained in:
Toby Chui
2024-11-14 21:18:05 +08:00
parent 4cf5d29692
commit ec5c24b9b8
9 changed files with 276 additions and 82 deletions

View File

@@ -109,6 +109,8 @@ func NewDynamicProxyCore(target *url.URL, prepender string, dpcOptions *DpcoreOp
thisTransporter.(*http.Transport).MaxConnsPerHost = optimalConcurrentConnection * 2
thisTransporter.(*http.Transport).DisableCompression = true
//TODO: Add user adjustable timeout option here
if dpcOptions.IgnoreTLSVerification {
//Ignore TLS certificate validation error
thisTransporter.(*http.Transport).TLSClientConfig.InsecureSkipVerify = true