Spaces:
Running
Running
TraxDinosaur
commited on
Commit
•
9b45bd6
1
Parent(s):
3ffd1cc
Initial Commit
Browse files- templates/index.html +2 -2
templates/index.html
CHANGED
@@ -157,7 +157,7 @@
|
|
157 |
let userColor = getRandomColor();
|
158 |
|
159 |
function initializeChat() {
|
160 |
-
const secretCode = '
|
161 |
const enteredCode = document.getElementById('codeInput').value;
|
162 |
|
163 |
if (enteredCode !== secretCode) {
|
@@ -174,7 +174,7 @@
|
|
174 |
document.getElementById('authPrompt').style.display = 'none';
|
175 |
document.getElementById('chatContainer').style.display = 'flex';
|
176 |
|
177 |
-
displayMessage(`Welcome, ${userName}! Enjoy the chat and
|
178 |
}
|
179 |
|
180 |
socket.on('message', (data) => {
|
|
|
157 |
let userColor = getRandomColor();
|
158 |
|
159 |
function initializeChat() {
|
160 |
+
const secretCode = 'TraxDinosaur';
|
161 |
const enteredCode = document.getElementById('codeInput').value;
|
162 |
|
163 |
if (enteredCode !== secretCode) {
|
|
|
174 |
document.getElementById('authPrompt').style.display = 'none';
|
175 |
document.getElementById('chatContainer').style.display = 'flex';
|
176 |
|
177 |
+
displayMessage(`Welcome, ${userName}! Enjoy the chat and check Traxdinosaur.github.io.`, 'system');
|
178 |
}
|
179 |
|
180 |
socket.on('message', (data) => {
|