Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
service-rest
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
service-rest
Commits
bff0f961
Commit
bff0f961
authored
Oct 11, 2018
by
chang_chao@founder.com.cn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
监控日志服务
parent
702e9beb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
src/main/resources/static/js/webSocket.js
+1
-1
No files found.
src/main/resources/static/js/webSocket.js
View file @
bff0f961
...
...
@@ -14,7 +14,7 @@ window.onunload = function() {
disconnect
()
}
function
connect
(){
var
socket
=
new
SockJS
(
'http://
localhost:8081
/service-rest/alllogs'
);
//连接SockJS的endpoint名称为"endpointOyzc"
var
socket
=
new
SockJS
(
'http://
10.94.61.158:8084
/service-rest/alllogs'
);
//连接SockJS的endpoint名称为"endpointOyzc"
var
res
=
""
;
stompClient
=
Stomp
.
over
(
socket
);
//使用STMOP子协议的WebSocket客户端
stompClient
.
connect
({},
function
(
frame
){
//连接WebSocket服务端
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment