2f3c0420e3
Remove all window.location.hash assignments and hashchange events. Navigate with history.pushState; listen on popstate. Fix base href to '/' so assets resolve correctly on deep paths. Update magic link URL. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
38 lines
1.2 KiB
HTML
38 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="pt-BR">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>ScoreOdonto CRM</title>
|
|
|
|
<script>
|
|
(function () {
|
|
var path = window.location.pathname;
|
|
if (path.indexOf('/odonto') !== -1 && !path.endsWith('/') && path.split('/').pop().indexOf('.') === -1) {
|
|
var newUrl = path + '/' + window.location.search + window.location.hash;
|
|
window.location.replace(newUrl);
|
|
}
|
|
})();
|
|
</script>
|
|
|
|
<base href="/">
|
|
|
|
|
|
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
|
|
|
|
<link rel="stylesheet" href="./index.css">
|
|
</head>
|
|
|
|
<body>
|
|
<div id="root"></div>
|
|
<div id="toast-container"></div>
|
|
<div id="global-error-display"
|
|
style="display: none; position: fixed; top: 10px; left: 10px; right: 10px; background-color: #ef4444; color: white; padding: 16px; border-radius: 8px; z-index: 9999; font-family: monospace; font-size: 14px; box-shadow: 0 4px 6px rgba(0,0,0,0.1);">
|
|
</div>
|
|
|
|
<script type="module" src="/index.tsx"></script>
|
|
</body>
|
|
|
|
</html> |