From 36d7432ec57c16f689f8e0940a1615c2172af3e6 Mon Sep 17 00:00:00 2001 From: Carlos Valente <34649812+cpvalente@users.noreply.github.com> Date: Tue, 22 Jun 2021 22:40:41 +0200 Subject: [PATCH] fix: link points to server --- client/src/features/info/InfoNif.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/src/features/info/InfoNif.jsx b/client/src/features/info/InfoNif.jsx index cd5945ea9..9bcf344dd 100644 --- a/client/src/features/info/InfoNif.jsx +++ b/client/src/features/info/InfoNif.jsx @@ -12,8 +12,7 @@ export default function InfoNif() { }); const [collapsed, setCollapsed] = useState(false); - const isDev = process.env.NODE_ENV === 'development'; - const baseURL = `http://__IP__:${isDev ? 3000 : 4001}`; + const baseURL = `http://__IP__:${4001}`; const handleLink = (url) => { if (window.process.type === 'renderer') {