feat(home): link the homepage of every local project in the workspace
- server: GET /api/local-projects scans sibling folders for index.html (title from <title>/<h1>, generic titles fall back to the folder name, sorted by newest edit) and GET /projects/<folder>/ serves that folder - both endpoints are loopback-only; node_modules/.git/.hermes blocked and path traversal rejected; WORKSPACE_DIR=none disables the feature - home: new 'โปรเจคในเครื่อง' list (2 columns >=700px) that hides itself when the API is absent, so the live static site never shows fake rows - SW skips /projects/* so other projects' files are never cached; version 2026.11.19.5 - docs: README/AGENTS/DESIGN cover the endpoints, the loopback rule and the layout
This commit is contained in:
1 parent
b27acd40ee
commit
db7724b237
9 files changed
+417
-5
No files matched your search
+1
-1
@@ -22,7 +22,7 @@
|
||||
content="รายชื่อโปรเจคอดิเรกของเรา เลือกโปรเจคที่อยากดูได้เลย"
|
||||
/>
|
||||
<meta name="theme-color" content="#8A4722" />
|
||||
<meta name="app-version" content="2026.11.19.4" />
|
||||
<meta name="app-version" content="2026.11.19.5" />
|
||||
<link rel="manifest" href="manifest.json" />
|
||||
<link rel="icon" type="image/png" sizes="192x192" href="icons/icon-192.png" />
|
||||
<link rel="icon" type="image/png" sizes="64x64" href="icons/favicon-64.png" />
|
||||
|
||||
Reference in new issue
Block a user