mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-12-04 21:08:30 +08:00
tomcat log url
This commit is contained in:
parent
14b07b6ead
commit
d25699056c
@ -59,7 +59,9 @@ export default {
|
||||
]),
|
||||
socketUrl() {
|
||||
const protocol = location.protocol === 'https:' ? 'wss://' : 'ws://';
|
||||
return `${protocol}${location.host}/tomcat_log?userId=${this.getLongTermToken}&tomcatId=${this.tomcatId}&nodeId=${this.nodeId}&type=tomcat`;
|
||||
const domain = window.routerBase;
|
||||
const url = (domain + '/tomcat_log').replace(new RegExp('//', 'gm'), '/');
|
||||
return `${protocol}${location.host}${url}?userId=${this.getLongTermToken}&tomcatId=${this.tomcatId}&nodeId=${this.nodeId}&type=tomcat`;
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
Loading…
Reference in New Issue
Block a user