Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
evm-store
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
wanli
evm-store
Commits
0ab79981
Commit
0ab79981
authored
Jun 29, 2021
by
wanli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
5293c144
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
backend/config.ini
backend/config.ini
+1
-1
backend/view/api.py
backend/view/api.py
+2
-1
frontend/src/views/system/monitor.vue
frontend/src/views/system/monitor.vue
+1
-1
No files found.
backend/config.ini
View file @
0ab79981
...
...
@@ -21,4 +21,4 @@ backup_dir = backup
evueapps_dir
=
evueapps
launcher_dir
=
launcher
host
=
127.0.0.1
port
=
5
000
port
=
3
000
backend/view/api.py
View file @
0ab79981
...
...
@@ -8,7 +8,7 @@ import uuid
import
sqlite3
from
datetime
import
datetime
from
flask
import
Blueprint
,
request
,
redirect
,
url_for
,
json
,
Response
,
send_file
,
make_response
,
send_from_directory
from
flask
import
Blueprint
,
request
,
json
from
werkzeug.utils
import
secure_filename
from
app
import
config
,
signalManager
...
...
@@ -59,6 +59,7 @@ def hello_evm():
def
action_opqcp
():
params
=
request
.
json
result
,
message
=
signalManager
.
actionOpqcp
.
emit
(
params
)
print
(
result
)
return
response_result
(
ResponseCode
.
OK
,
msg
=
message
)
...
...
frontend/src/views/system/monitor.vue
View file @
0ab79981
...
...
@@ -251,7 +251,7 @@ export default {
initWebSocket
()
{
if
(
"
WebSocket
"
in
window
)
{
// this.socket = new WebSocket(`ws://${window.location.host}/ws/v1/notify`);
this
.
socket
=
new
WebSocket
(
`ws://
${
window
.
location
.
hostname
}
:
5
000/ws/v1/notify`
);
this
.
socket
=
new
WebSocket
(
`ws://
${
window
.
location
.
hostname
}
:
3
000/ws/v1/notify`
);
this
.
socket
.
onopen
=
()
=>
{
console
.
log
(
"
连接成功
"
);
this
.
sendMsg
();
...
...
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