added final questions

added ssl certificate and switched from http & ws to https &wss
files to exchange for you are server/cert.pm for the certificate and server/key.pem for the key of the Hochschul certifiacte
This commit is contained in:
Niko
2019-09-05 17:09:01 +02:00
parent 42a704a460
commit e73bcc134b
5 changed files with 59 additions and 3 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ var questionNumDisplay = document.querySelector('.quest');
// #endregion
// websocket to communicate with the server
var ws = new WebSocket('ws://' + window.location.host + window.location.pathname + 'ws');
var ws = new WebSocket('wss://' + window.location.host + window.location.pathname + 'ws');
// #region speech recognition initialization
var recognition = new SpeechRecognition();