mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-12-03 04:18:21 +08:00
fix system log
This commit is contained in:
parent
ff09d37fd4
commit
18316597e2
@ -53,7 +53,9 @@ export default {
|
||||
]),
|
||||
socketUrl() {
|
||||
const protocol = location.protocol === 'https' ? 'wss://' : 'ws://';
|
||||
return `${protocol}${location.host}/tomcat_log?userId=${this.getToken}&tomcatId=${this.tomcatId}&nodeId=${this.nodeId}&type=tomcat`;
|
||||
const domain = document.getElementById('domainPath').value;
|
||||
const url = (domain + '/tomcat_log').replaceAll('//', '/')
|
||||
return `${protocol}${location.host}${url}?userId=${this.getToken}&tomcatId=${this.tomcatId}&nodeId=${this.nodeId}&type=tomcat`;
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
Loading…
Reference in New Issue
Block a user