fix: link points to server

This commit is contained in:
Carlos Valente
2021-06-22 22:40:41 +02:00
parent 2f3e5a896d
commit 36d7432ec5
+1 -2
View File
@@ -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') {