@teddysc/claude-run 0.9.0 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -32,6 +32,11 @@ The browser will open automatically at http://localhost:12001.
|
|
|
32
32
|
|
|
33
33
|
## Changelog
|
|
34
34
|
|
|
35
|
+
### 0.9.1
|
|
36
|
+
- Fix favicon response handling
|
|
37
|
+
- Enhance server response handling for static assets
|
|
38
|
+
- Update Vite configuration for public directory
|
|
39
|
+
|
|
35
40
|
### 0.9.0
|
|
36
41
|
- Add Claude Code mascot favicon and app icons
|
|
37
42
|
|
package/dist/index.js
CHANGED
|
@@ -652,6 +652,10 @@ function createServer(options) {
|
|
|
652
652
|
const webDistPath = getWebDistPath();
|
|
653
653
|
app.use("/*", serveStatic({ root: webDistPath }));
|
|
654
654
|
app.get("/*", async (c) => {
|
|
655
|
+
const path = new URL(c.req.url).pathname;
|
|
656
|
+
if (path.match(/\.(ico|png|jpg|jpeg|svg|gif|css|js|woff|woff2|ttf|eot)$/)) {
|
|
657
|
+
return c.notFound();
|
|
658
|
+
}
|
|
655
659
|
const indexPath = join4(webDistPath, "index.html");
|
|
656
660
|
try {
|
|
657
661
|
const html = readFileSync(indexPath, "utf-8");
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|