mirror of
https://github.com/tiennm99/goclaw.git
synced 2026-10-14 00:16:38 +00:00
build: update frontend asset references in index.html and add it to .gitignore.
This commit is contained in:
1 parent
f9f63f12a1
commit
6de054df33
2 files changed
+1
-22
No files matched your search
@@ -76,3 +76,4 @@ goclaw.db-shm
|
||||
|
||||
# Auto-generated by Makefile (git describe)
|
||||
VERSION
|
||||
ui/desktop/frontend/dist/index.html
|
||||
Vendored
-22
@@ -1,22 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" class="dark">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>GoClaw</title>
|
||||
<script>
|
||||
// Apply persisted theme before first paint to prevent flash
|
||||
try {
|
||||
const stored = JSON.parse(localStorage.getItem('goclaw-ui') || '{}')
|
||||
if (stored.state?.theme === 'light') {
|
||||
document.documentElement.classList.remove('dark')
|
||||
}
|
||||
} catch {}
|
||||
</script>
|
||||
<script type="module" crossorigin src="/assets/index-COTE9Ugk.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-D6czDNCk.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user