Fix redirect loop and trigger frontend rebuild
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
- 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
This commit is contained in:
parent
ae272440d4
commit
e46c393c8c
@ -59,6 +59,9 @@ backend:
|
|||||||
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||||||
traefik.ingress.kubernetes.io/router.tls: "true"
|
traefik.ingress.kubernetes.io/router.tls: "true"
|
||||||
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
||||||
|
# Prevent redirect loops
|
||||||
|
ingress.kubernetes.io/ssl-redirect: "false"
|
||||||
|
ingress.kubernetes.io/force-ssl-redirect: "false"
|
||||||
hosts:
|
hosts:
|
||||||
- host: api-brand-master.dvirlabs.com
|
- host: api-brand-master.dvirlabs.com
|
||||||
paths:
|
paths:
|
||||||
@ -101,6 +104,9 @@ frontend:
|
|||||||
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||||||
traefik.ingress.kubernetes.io/router.tls: "true"
|
traefik.ingress.kubernetes.io/router.tls: "true"
|
||||||
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
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:
|
hosts:
|
||||||
- host: brand-master.dvirlabs.com
|
- host: brand-master.dvirlabs.com
|
||||||
paths:
|
paths:
|
||||||
|
|||||||
@ -3,6 +3,7 @@ import ReactDOM from 'react-dom/client'
|
|||||||
import App from './App'
|
import App from './App'
|
||||||
import './styles/global.css'
|
import './styles/global.css'
|
||||||
|
|
||||||
|
// Brand Master - Fashion & Shoes E-commerce Application
|
||||||
ReactDOM.createRoot(document.getElementById('root')).render(
|
ReactDOM.createRoot(document.getElementById('root')).render(
|
||||||
<React.StrictMode>
|
<React.StrictMode>
|
||||||
<App />
|
<App />
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user