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 3c75e5d commit 5264e36Copy full SHA for 5264e36
src/store/config.ts
@@ -21,13 +21,16 @@ import Vue from 'vue';
21
import App from '../App.vue'
22
23
export function Url() {
24
- console.log('Ref:' + window.location.origin+window.location.pathname);
25
if (process.env.NODE_ENV === 'development') {
26
// return 'https://localhost:61091'; // GO
27
return 'http://localhost:8130'; // GO
28
// return 'http://localhost:8091'; // Java
29
}
30
- return window.location.origin+window.location.pathname;
+ let ref = window.location.origin+window.location.pathname;
+ console.log('Ref before:' + ref);
31
+ ref.replace('/+$','')
32
+ console.log('Ref after:' + ref);
33
+ return ref;
34
35
36
export function AppName() {
0 commit comments