-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Lucas BOUGUET
authored and
Lucas BOUGUET
committed
Aug 28, 2024
1 parent
5ffb33f
commit 3b8ee5a
Showing
37 changed files
with
62 additions
and
742 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIDwzCCAqugAwIBAgIUL1ZIu+ZrDEGUdrGZXFzFlD6d9KQwDQYJKoZIhvcNAQEL | ||
BQAwcTELMAkGA1UEBhMCRlIxDDAKBgNVBAgMA0lERjEOMAwGA1UEBwwFUGFyaXMx | ||
CzAJBgNVBAoMAjQyMQswCQYDVQQLDAI0MjEQMA4GA1UEAwwHMC4wLjAuMDEYMBYG | ||
CgmSJomT8ixkAQEMCGxib3VndWV0MB4XDTI0MDgyODA5NDYzNloXDTI1MDgyODA5 | ||
NDYzNlowcTELMAkGA1UEBhMCRlIxDDAKBgNVBAgMA0lERjEOMAwGA1UEBwwFUGFy | ||
aXMxCzAJBgNVBAoMAjQyMQswCQYDVQQLDAI0MjEQMA4GA1UEAwwHMC4wLjAuMDEY | ||
MBYGCgmSJomT8ixkAQEMCGxib3VndWV0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A | ||
MIIBCgKCAQEAySZARZupt35xMz3bMUVT+JdiqJ2u5VBsZt9B8/wqJBZSyscVJs0J | ||
iAMJ8ZYeDsrckdGFcrofcqEifUKHiSAz5j0swhtUjj2RO+PueAafQGASN989lyGF | ||
KgziX+t9EtVEMT+b+SfYJFJM6GCAlVFGQGQs1CZUNqrcGTuBULxnbho/0kVLAkHu | ||
I29nMBPFcDaOSc24c2wR6JDQ+wYtqseiD72jUPNhN0Epoai3BV1pDblBcGpNJPOr | ||
VUQu+0852Fzdy2RR1eLJLeqQfOSPB1qRTINWvbiIAedUXAhGeTLeCdJxP5qV/9xS | ||
dbPFtfUk9PO2YdQUuU+8wl5tvsz+8beTOwIDAQABo1MwUTAdBgNVHQ4EFgQUEU7n | ||
p4N8grTmG3vD4y/UdTc2cJwwHwYDVR0jBBgwFoAUEU7np4N8grTmG3vD4y/UdTc2 | ||
cJwwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAPHMDhCLRxb70 | ||
dLypIqUCgba59w/HAI2nzLRTD3LPXyY5HMYdkPFp448fq+Ci/Jtv7VE8PLko9um5 | ||
T2JC8gaTgHBGOAJm91+rbUz/+FuBCm4gPvr1zyJmi0eWQ9Fk0Hb6G6LB+6l5cEeu | ||
KxLixh/D5F1AoTme3WPcX5jiqdLMBMytxQw8/R64ujFB4cBP3jhVP8+cpQeefTVi | ||
ykJRJbaWDevQLOnCx9lsoFV/hCuQ2JJRzOvPh6hdMEPz0V1zXLEjtdvdaTAID+DQ | ||
g2cKmTF8pERRcx+lLqwG1gV8bHgYBDs//PLL6SNt7MSHLzgvBFjJXyvLu6NQlR+g | ||
vhntXL/IJw== | ||
-----END CERTIFICATE----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
from django.urls import re_path | ||
from django.urls import path | ||
from .consumers import NotificationConsumer | ||
|
||
websocket_urlpatterns = [ | ||
re_path(r'ws/notifications/$', NotificationConsumer.as_asgi()), | ||
path('wss/notifications/$', NotificationConsumer.as_asgi()), | ||
] |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
srcs/app_django/pages/static/pages/js/setupNotificationSocket.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import uvicorn | ||
|
||
if __name__ == "__main__": | ||
uvicorn.run( | ||
"django_project.asgi:application", | ||
host="0.0.0.0", | ||
port=8001, | ||
log_level="info", | ||
ssl_keyfile="/etc/ssl-nginx/server-key.pem", | ||
ssl_certfile="/etc/ssl-nginx/server-cert.pem" | ||
) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.