Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
R
red-ci-cd
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
red-group-test
red-ci-cd
Commits
09352a97
Commit
09352a97
authored
Feb 20, 2020
by
John Red Medrano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
{bug fix} revert all changes and try again
parent
3b11a3ad
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
7 deletions
+2
-7
app/applicationlayer/management/notification/routing.py
app/applicationlayer/management/notification/routing.py
+1
-6
app/entities/templates/chat/room.html
app/entities/templates/chat/room.html
+1
-1
No files found.
app/applicationlayer/management/notification/routing.py
View file @
09352a97
# chat/routing.py
from
django.conf.urls
import
url
from
django.urls
import
re_path
from
app.applicationlayer.management.notification
import
consumers
websocket_urlpatterns
=
[
# url(r'^ws/chat/(?P<room_name>[^/]+)/$', consumers.ChatConsumer),
# url(r'^wss/chat/(?P<room_name>[^/]+)/$', consumers.ChatConsumer),
re_path
(
r'wss/chat/(?P<room_name>\w+)/$'
,
consumers
.
ChatConsumer
),
url
(
r'^ws/chat/(?P<room_name>[^/]+)/$'
,
consumers
.
ChatConsumer
),
]
\ No newline at end of file
app/entities/templates/chat/room.html
View file @
09352a97
...
...
@@ -14,7 +14,7 @@
var
roomName
=
{{
room_name_json
}};
var
chatSocket
=
new
WebSocket
(
'
ws
s
://
'
+
window
.
location
.
host
+
'
ws://
'
+
window
.
location
.
host
+
'
/ws/chat/
'
+
roomName
+
'
/
'
);
chatSocket
.
onmessage
=
function
(
e
)
{
...
...
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