diff --git a/resources/assets/js/store/actions.js b/resources/assets/js/store/actions.js index 09f687db1..a5a9a1c60 100644 --- a/resources/assets/js/store/actions.js +++ b/resources/assets/js/store/actions.js @@ -4682,6 +4682,7 @@ export default { } const serverLocation = new URL($A.mainUrl('')) data.url = data.url + .replace(/^\/+/, '') .replace(/^\:(\d+)/ig, (_, port) => { return serverLocation.protocol + '//' + serverLocation.hostname + ':' + port; })