We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b79f389 commit 21dc91cCopy full SHA for 21dc91c
pkg/rancher-deskboard/index.ts
@@ -36,12 +36,12 @@ const interceptApiRequest = (axios: any) => {
36
37
axios.interceptors.request.use((config: any) => {
38
// ensure that http traffic to properly route to the proxy server
39
- if (config.url.includes(':6120')) {
+ if (config.url.includes(':6120') && config.url.includes('https')) {
40
config.url = config.url
41
.replace('https://', 'http://')
42
}
43
44
- if (config.url.includes(':9443')) {
+ if (config.url.includes(':9443') && config.url.includes('https')) {
45
46
47
.replace(':9443', ':6120');
0 commit comments