From 5d96cb2d02fdb36ca37b84b990558ce563bf7ac2 Mon Sep 17 00:00:00 2001 From: Djorkaeff Alexandre Date: Wed, 23 Oct 2019 16:28:24 -0300 Subject: [PATCH] [FIX] Server with https:\\ instead of https:// (#1320) --- app/views/NewServerView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/NewServerView.js b/app/views/NewServerView.js index 92759700..698289b1 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://', '');