Fix: Add assets route to manifest.yaml
This commit is contained in:
parent
77a2d60157
commit
4aec140658
1 changed files with 0 additions and 1 deletions
|
|
@ -81,7 +81,6 @@ app.get('/preview/:id', previewPage);
|
||||||
// Serve static assets (Vite build outputs)
|
// Serve static assets (Vite build outputs)
|
||||||
app.use('/assets', express.static(path.join(__dirname, 'dist', 'assets')));
|
app.use('/assets', express.static(path.join(__dirname, 'dist', 'assets')));
|
||||||
|
|
||||||
// Route handlers
|
|
||||||
async function serveEditor(req, res) {
|
async function serveEditor(req, res) {
|
||||||
const indexPath = path.join(__dirname, 'dist', 'frontend', 'index.html');
|
const indexPath = path.join(__dirname, 'dist', 'frontend', 'index.html');
|
||||||
res.sendFile(indexPath);
|
res.sendFile(indexPath);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue