Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
schedule
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
fengzhaoyu
schedule
Commits
c5460f32
Commit
c5460f32
authored
4 years ago
by
xiexiaoqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix websocket url
parent
e0652932
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
config.js
config.js
+2
-1
index.js
pages/index/index.js
+2
-1
No files found.
config.js
View file @
c5460f32
export
const
globalUrl
=
"https://gateway-ding.mingwork.com"
;
export
const
globalUrl2
=
"https://third-authentication.mingwork.com"
;
export
const
version
=
0.035
;
export
const
version
=
0.036
;
export
const
websocketUrl
=
'wss://gateway-ding.mingwork.com'
;
This diff is collapsed.
Click to expand it.
pages/index/index.js
View file @
c5460f32
...
...
@@ -25,6 +25,7 @@ import create from "dd-store";
import
pageStore
from
'../meetingDetail/store'
;
import
{
version
}
from
'../../config'
;
// const webSocket = require('../../utils/websocket.js');
import
{
websocketUrl
}
from
'../../config'
;
const
currentDate
=
new
Date
();
const
minYear
=
currentDate
.
getFullYear
();
...
...
@@ -183,7 +184,7 @@ create.Page({
},
connect_start
()
{
dd
.
connectSocket
({
url
:
`
ws://139.196.213.18:9999
/meet-websocket/websocket/
${
dd
.
getStorageSync
({
key
:
'mwUserId'
}).
data
}
/
${
uuid
}
`
,
url
:
`
${
websocketUrl
}
/meet-websocket/websocket/
${
dd
.
getStorageSync
({
key
:
'mwUserId'
}).
data
}
/
${
uuid
}
`
,
success
:
(
res
)
=>
{
...
...
This diff is collapsed.
Click to expand it.
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