Restore three-button capture interface: Share Entire Screen, Snip, Cancel

This commit is contained in:
2026-01-11 05:14:15 +00:00
parent ccb239c84b
commit 54d262b97d
6 changed files with 1125 additions and 15 deletions
+2 -1
View File
@@ -104,8 +104,9 @@ app.post('/api/submit', async (c) => {
}
});
// Serve static files (images, css, etc)
// Serve static files (images, css, tools, etc)
app.use('/images/*', serveStatic({ root: new URL('./', import.meta.url).pathname }));
app.use('/tools/*', serveStatic({ root: new URL('./', import.meta.url).pathname }));
// Serve static index.html
app.get('/', async (c) => {