fix: supprimer meta refresh de team.tsx qui causait la boucle
La page team.tsx avait un meta refresh vers /team.html Le reverse proxy redirige /team.html vers /team = boucle infinie Solution: team.tsx retourne null, le contenu est géré par team-block-script.js via iframe avec data URL
This commit is contained in:
@@ -1,33 +1,5 @@
|
|||||||
// @ts-nocheck
|
// @ts-nocheck
|
||||||
import Head from 'next/head';
|
// Page vide - le contenu est injecté par team-block-script.js via iframe
|
||||||
|
|
||||||
export default function TeamPage() {
|
export default function TeamPage() {
|
||||||
return (
|
return null;
|
||||||
<>
|
|
||||||
<Head>
|
|
||||||
<meta httpEquiv="refresh" content="0;url=/team.html" />
|
|
||||||
<script dangerouslySetInnerHTML={{
|
|
||||||
__html: `window.location.replace('/team.html');`
|
|
||||||
}} />
|
|
||||||
</Head>
|
|
||||||
<div
|
|
||||||
style={{
|
|
||||||
width: '100vw',
|
|
||||||
height: '100vh',
|
|
||||||
background: '#1a4d3a',
|
|
||||||
display: 'flex',
|
|
||||||
alignItems: 'center',
|
|
||||||
justifyContent: 'center',
|
|
||||||
position: 'fixed',
|
|
||||||
top: 0,
|
|
||||||
left: 0,
|
|
||||||
zIndex: 9999,
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<div style={{ color: 'white', fontSize: '18px' }}>
|
|
||||||
Redirection vers les visualisations équipe...
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</>
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user