44 lines
1.7 KiB
HTML
Executable File
44 lines
1.7 KiB
HTML
Executable File
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Machine Control Center</title>
|
|
|
|
<!-- Content Security Policy - DISABLED for debugging -->
|
|
<!--
|
|
<meta http-equiv="Content-Security-Policy" content="
|
|
default-src 'self' 'unsafe-inline' 'unsafe-eval';
|
|
script-src 'self' 'unsafe-inline' 'unsafe-eval' http://localhost:* ws://localhost:*;
|
|
style-src 'self' 'unsafe-inline' http://localhost:*;
|
|
img-src 'self' data: blob: http://localhost:*;
|
|
font-src 'self' data: http://localhost:*;
|
|
connect-src 'self' http://localhost:* https://localhost:* ws://localhost:* wss://localhost:*;
|
|
frame-src 'self' http://localhost:* https://localhost:*;
|
|
object-src 'none';
|
|
base-uri 'self';
|
|
form-action 'self';
|
|
frame-ancestors 'none';
|
|
">
|
|
-->
|
|
<script type="module" crossorigin src="./assets/main-D-T5fPSb.js"></script>
|
|
<link rel="stylesheet" crossorigin href="./assets/main-CnaqftHU.css">
|
|
</head>
|
|
<body>
|
|
<div id="root">Loading...</div>
|
|
<script>
|
|
console.log('🔍 HTML загружен, начинаем отладку...');
|
|
console.log('📍 Root element:', document.getElementById('root'));
|
|
</script>
|
|
|
|
<script>
|
|
// Добавляем обработчик ошибок
|
|
window.addEventListener('error', (e) => {
|
|
console.error('❌ JavaScript Error:', e.error);
|
|
});
|
|
|
|
window.addEventListener('unhandledrejection', (e) => {
|
|
console.error('❌ Unhandled Promise Rejection:', e.reason);
|
|
});
|
|
</script>
|
|
</body>
|
|
</html> |