forked from stan-smith/FossFLOW
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest-app.html
More file actions
26 lines (25 loc) · 775 Bytes
/
test-app.html
File metadata and controls
26 lines (25 loc) · 775 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!DOCTYPE html>
<html>
<head>
<title>Test FossFLOW App</title>
</head>
<body>
<h1>Testing FossFLOW App</h1>
<iframe src="http://localhost:3000" width="100%" height="600px" style="border: 1px solid #ccc;"></iframe>
<script>
// Listen for console messages from the iframe
window.addEventListener('message', function(e) {
console.log('Message from app:', e.data);
});
// Check if app loads successfully
setTimeout(() => {
const iframe = document.querySelector('iframe');
try {
console.log('App loaded successfully');
} catch(e) {
console.error('Error accessing app:', e);
}
}, 2000);
</script>
</body>
</html>