We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5264e36 commit d2386bcCopy full SHA for d2386bc
src/store/config.ts
@@ -22,14 +22,14 @@ import App from '../App.vue'
22
23
export function Url() {
24
if (process.env.NODE_ENV === 'development') {
25
- // return 'https://localhost:61091'; // GO
26
- return 'http://localhost:8130'; // GO
+ // return 'https://localhost:61091'; // GO
+ return 'http://localhost:8130'; // GO
27
// return 'http://localhost:8091'; // Java
28
}
29
let ref = window.location.origin+window.location.pathname;
30
- console.log('Ref before:' + ref);
31
- ref.replace('/+$','')
32
- console.log('Ref after:' + ref);
+ console.log('Ref before:' + ref + ':');
+ ref = ref.replace(/\/+$/g,'')
+ console.log('Ref after:' + ref + ':');
33
return ref;
34
35
0 commit comments