mirror of
https://gitlab.com/vyla-entertainment/home.git
synced 2026-11-14 06:07:23 -05:00
support artifact redirect hosts and explicit express port binding
This commit is contained in:
4
main.js
4
main.js
@@ -138,7 +138,7 @@ async function start() {
|
||||
playerExpressApp.get('*', (req, res) => {
|
||||
res.sendFile(path.join(playerDir, 'index.html'));
|
||||
});
|
||||
playerExpressServer = playerExpressApp.listen(3001, () => {
|
||||
playerExpressServer = playerExpressApp.listen(3001, '0.0.0.0', () => {
|
||||
console.log('[DEBUG] Player Express server listening on 3001');
|
||||
});
|
||||
|
||||
@@ -155,7 +155,7 @@ async function start() {
|
||||
});
|
||||
|
||||
const FRONTEND_PORT = 4890;
|
||||
expressServer = expressApp.listen(FRONTEND_PORT, () => {
|
||||
expressServer = expressApp.listen(FRONTEND_PORT, '0.0.0.0', () => {
|
||||
console.log(`[DEBUG] Frontend Express server active at http://localhost:${FRONTEND_PORT}`);
|
||||
sendToTauri('ready', { url: `http://localhost:${FRONTEND_PORT}` });
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user