diff --git a/app/views/NewServerView.js b/app/views/NewServerView.js index 92759700c..698289b11 100644 --- a/app/views/NewServerView.js +++ b/app/views/NewServerView.js @@ -190,7 +190,7 @@ class NewServerView extends React.Component { } } - return url.replace(/\/+$/, ''); + return url.replace(/\/+$/, '').replace(/\\/g, '/'); } uriToPath = uri => uri.replace('file://', '');