fix: bundle mobile UI into dental-server/public_mobile so docker can serve it
continuous-integration/webhook Deploy concluído (VPS4)

This commit is contained in:
VPS 4 Deploy Agent
2026-06-03 17:28:27 +02:00
parent 806f910c38
commit 49de013a99
2 changed files with 182 additions and 1 deletions
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -752,7 +752,7 @@ app.get('*', (req, res, next) => {
// Serve the Mobile Prototype Bundle for mobile devices or explicit /mobile route // Serve the Mobile Prototype Bundle for mobile devices or explicit /mobile route
if (req.path.startsWith('/mobile') || isMobile) { if (req.path.startsWith('/mobile') || isMobile) {
return res.sendFile(path.join(__dirname, '..', 'scoreodonto-mobile', 'Score RX Mobile.html')); return res.sendFile(path.join(__dirname, 'public_mobile', 'index.html'));
} }
res.sendFile(path.join(__dirname, 'dental-client', 'dist', 'index.html')); res.sendFile(path.join(__dirname, 'dental-client', 'dist', 'index.html'));