migration to vite and cleaned up /uploads
This commit is contained in:
@@ -43,7 +43,7 @@ class SocketService {
|
||||
*/
|
||||
private getSocketUrl(): string {
|
||||
// Use environment variable or default to localhost:5001 (matches backend)
|
||||
return process.env.REACT_APP_BASE_URL || "http://localhost:5001";
|
||||
return import.meta.env.VITE_BASE_URL || "http://localhost:5001";
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user