Skip to content

Commit ffeba15

Browse files
committed
fix the routing for traefik
1 parent 062c358 commit ffeba15

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ window.APP_CONFIG = {
1111
return 'http://localhost:3000';
1212
}
1313

14-
// For production deployment - uses same host with port 3000
15-
// If using HTTPS, make sure your server supports it
16-
return `${protocol}//${hostname}:3000`;
14+
// For production deployment - uses same host without port
15+
// Traefik handles the routing to the backend
16+
return `${protocol}//${hostname}`;
1717
})()
1818
};

0 commit comments

Comments
 (0)