mirror of
https://github.com/cpvalente/ontime.git
synced 2026-09-02 12:59:09 +00:00
fix: link points to server
This commit is contained in:
@@ -12,8 +12,7 @@ export default function InfoNif() {
|
|||||||
});
|
});
|
||||||
const [collapsed, setCollapsed] = useState(false);
|
const [collapsed, setCollapsed] = useState(false);
|
||||||
|
|
||||||
const isDev = process.env.NODE_ENV === 'development';
|
const baseURL = `http://__IP__:${4001}`;
|
||||||
const baseURL = `http://__IP__:${isDev ? 3000 : 4001}`;
|
|
||||||
|
|
||||||
const handleLink = (url) => {
|
const handleLink = (url) => {
|
||||||
if (window.process.type === 'renderer') {
|
if (window.process.type === 'renderer') {
|
||||||
|
|||||||
Reference in New Issue
Block a user