-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.html
More file actions
38 lines (36 loc) Β· 1.32 KB
/
test.html
File metadata and controls
38 lines (36 loc) Β· 1.32 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
<!DOCTYPE html>
<html>
<head>
<title>Test Nightfalll</title>
</head>
<body>
<h1>Testing Nightfalll Assets</h1>
<p>Checking if assets load correctly...</p>
<script>
// Test CSS loading
fetch('/assets/index-C8VMxZS5.css')
.then(response => {
if (response.ok) {
document.body.innerHTML += '<p style="color: green;">β CSS loads correctly</p>';
} else {
document.body.innerHTML += '<p style="color: red;">β CSS failed to load</p>';
}
})
.catch(error => {
document.body.innerHTML += '<p style="color: red;">β CSS error: ' + error.message + '</p>';
});
// Test JS loading
fetch('/assets/index-Dyg27oqN.js')
.then(response => {
if (response.ok) {
document.body.innerHTML += '<p style="color: green;">β JavaScript loads correctly</p>';
} else {
document.body.innerHTML += '<p style="color: red;">β JavaScript failed to load</p>';
}
})
.catch(error => {
document.body.innerHTML += '<p style="color: red;">β JavaScript error: ' + error.message + '</p>';
});
</script>
</body>
</html>