Restore three-button capture interface: Share Entire Screen, Snip, Cancel
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user