diff --git a/eda-frontend/src/components/SchematicEditor/ToolbarExtension.js b/eda-frontend/src/components/SchematicEditor/ToolbarExtension.js index 7a8e5d1f..102168df 100644 --- a/eda-frontend/src/components/SchematicEditor/ToolbarExtension.js +++ b/eda-frontend/src/components/SchematicEditor/ToolbarExtension.js @@ -497,9 +497,9 @@ export function HomeDialog ({ open, gridRef, routeVal, onClose, schSave }) { }, [dispatch]) var homeURL = '' if (routeVal === 'home') { - homeURL = `${window.location.protocol}\\\\${window.location.host}/` + homeURL = `${window.location.protocol}//${window.location.host}/` } else { - homeURL = `${window.location.protocol}\\\\${window.location.host}/eda/#/${routeVal}` + homeURL = `${window.location.protocol}//${window.location.host}/eda/#/${routeVal}` } console.log(homeURL) @@ -584,9 +584,9 @@ export function SchematicNameDialog ({ open, gridRef, routeVal, onClose, schSave var homeURL = '' console.log(routeVal) if (routeVal === 'home') { - homeURL = `${window.location.protocol}\\\\${window.location.host}/` + homeURL = `${window.location.protocol}//${window.location.host}/` } else { - homeURL = `${window.location.protocol}\\\\${window.location.host}/eda/#/${routeVal}` + homeURL = `${window.location.protocol}//${window.location.host}/eda/#/${routeVal}` } console.log(homeURL)