From ec8fffbb646ab90cafeddb2a7f61568349cd963c Mon Sep 17 00:00:00 2001 From: Mitchell Scott Date: Tue, 17 Feb 2026 07:34:06 -0700 Subject: [PATCH] fix: correctly use music mount when DIST=1. Fixes #174 --- index.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/index.mjs b/index.mjs index aea3c6c..0e21ee2 100644 --- a/index.mjs +++ b/index.mjs @@ -158,6 +158,7 @@ if (process.env?.DIST === '1') { // 'npm run build' and then 'DIST=1 npm start' app.use('/scripts', express.static('./server/scripts', staticOptions)); app.use('/geoip', geoip); + app.use('/music', express.static('./server/music', staticOptions)); // render the EJS template in production mode (serve compressed files from dist directory) app.get('/', (req, res) => { renderIndex(req, res, true); });