- Fix #141
This commit is contained in:
1 parent
5a78877abf
commit
1c306c2219
2 files changed
+4
-1
No files matched your search
@@ -57,6 +57,9 @@
|
||||
this.elements.inputForm.addEventListener('submit', async (event) => {
|
||||
event.preventDefault();
|
||||
const message = this.elements.chatInput.value;
|
||||
if (message.length > 500) {
|
||||
return;
|
||||
}
|
||||
|
||||
const rawResponse = await fetch('/send', {
|
||||
method: 'POST',
|
||||
|
||||
Reference in new issue
Block a user