IO-2340 CDK New Unsold Vehicle adjustments

This commit is contained in:
Allan Carr
2023-06-22 15:38:18 -07:00
parent fee5bee569
commit bd7d8068df
3 changed files with 32 additions and 22 deletions

View File

@@ -45,7 +45,8 @@ export default connect(mapStateToProps, mapDispatchToProps)(DmsContainer);
export const socket = SocketIO(
process.env.NODE_ENV === "production"
? process.env.REACT_APP_AXIOS_BASE_API_URL
: window.location.origin, //"http://localhost:4000" for dev testing,
: window.location.origin,
// "http://localhost:4000", // for dev testing,
{
path: "/ws",
withCredentials: true,