Using path package methods can cause errors on windows machines. path methods are used for url operations and unix specific operation. filepath methods are used for file system paths and its cross platform. Remove strings.HasSuffix and use filepath.Ext and path.Ext for file and url extenstions respectively. |
||
---|---|---|
.. | ||
credentials.go | ||
credentials_test.go | ||
origin_cert.go | ||
origin_cert_test.go | ||
test-cert-no-token.pem | ||
test-cert-unknown-block.pem | ||
test-cloudflare-tunnel-cert-json.pem |