This commit is contained in:
root
2025-11-25 09:56:15 +03:00
commit 68c8f0e80d
23717 changed files with 3200521 additions and 0 deletions

47
mc_test/index.html Executable file
View File

@ -0,0 +1,47 @@
<!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 - Allow WebSocket to API and Vite HMR -->
<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'
https://mc.exbytestudios.com wss://mc.exbytestudios.com
https://test.exbytestudios.com wss://test.exbytestudios.com
http://localhost:* https://localhost:* ws://localhost:* wss://localhost:*;
frame-src 'self'
https://mc.exbytestudios.com
https://test.exbytestudios.com
http://localhost:* https://localhost:*;
object-src 'none';
base-uri 'self';
form-action 'self';
frame-ancestors 'none';
">
</head>
<body>
<div id="root">Loading...</div>
<script>
console.log('HTML loaded, starting debug...');
console.log('Root element:', document.getElementById('root'));
</script>
<script type="module" src="./src/renderer/main.tsx"></script>
<script>
// Add error handlers
window.addEventListener('error', (e) => {
console.error('JavaScript Error:', e.error);
});
window.addEventListener('unhandledrejection', (e) => {
console.error('Unhandled Promise Rejection:', e.reason);
});
</script>
</body>
</html>