From e46c393c8cb177fce13c39d00e050419b735494e Mon Sep 17 00:00:00 2001 From: dvirlabs Date: Fri, 8 May 2026 08:34:58 +0300 Subject: [PATCH] Fix redirect loop and trigger frontend rebuild - Added comment to main.jsx to trigger CI rebuild with correct API URL - Added ingress annotations to prevent redirect loops (ssl-redirect: false) - This fixes ERR_TOO_MANY_REDIRECTS and blank page issues --- brand-master-chart/values.yaml | 6 ++++++ frontend/src/main.jsx | 1 + 2 files changed, 7 insertions(+) diff --git a/brand-master-chart/values.yaml b/brand-master-chart/values.yaml index 41b998e..0b5e2ea 100644 --- a/brand-master-chart/values.yaml +++ b/brand-master-chart/values.yaml @@ -59,6 +59,9 @@ backend: traefik.ingress.kubernetes.io/router.entrypoints: websecure traefik.ingress.kubernetes.io/router.tls: "true" cert-manager.io/cluster-issuer: "letsencrypt-prod" + # Prevent redirect loops + ingress.kubernetes.io/ssl-redirect: "false" + ingress.kubernetes.io/force-ssl-redirect: "false" hosts: - host: api-brand-master.dvirlabs.com paths: @@ -101,6 +104,9 @@ frontend: traefik.ingress.kubernetes.io/router.entrypoints: websecure traefik.ingress.kubernetes.io/router.tls: "true" cert-manager.io/cluster-issuer: "letsencrypt-prod" + # Prevent redirect loops - tell Traefik to use HTTPS directly + ingress.kubernetes.io/ssl-redirect: "false" + ingress.kubernetes.io/force-ssl-redirect: "false" hosts: - host: brand-master.dvirlabs.com paths: diff --git a/frontend/src/main.jsx b/frontend/src/main.jsx index 9e76786..00a3b61 100644 --- a/frontend/src/main.jsx +++ b/frontend/src/main.jsx @@ -3,6 +3,7 @@ import ReactDOM from 'react-dom/client' import App from './App' import './styles/global.css' +// Brand Master - Fashion & Shoes E-commerce Application ReactDOM.createRoot(document.getElementById('root')).render(