Spaces:
Runtime error
Runtime error
Update templates/base.html
Browse files- templates/base.html +3 -2
templates/base.html
CHANGED
|
@@ -2708,7 +2708,8 @@
|
|
| 2708 |
body: JSON.stringify({
|
| 2709 |
message: message,
|
| 2710 |
conversation_id: localStorage.getItem('floating_chat_conversation_id')
|
| 2711 |
-
})
|
|
|
|
| 2712 |
})
|
| 2713 |
.then(response => {
|
| 2714 |
console.log('Response received, status:', response.status);
|
|
@@ -2881,4 +2882,4 @@
|
|
| 2881 |
|
| 2882 |
{% block extra_scripts %}{% endblock %}
|
| 2883 |
</body>
|
| 2884 |
-
</html>
|
|
|
|
| 2708 |
body: JSON.stringify({
|
| 2709 |
message: message,
|
| 2710 |
conversation_id: localStorage.getItem('floating_chat_conversation_id')
|
| 2711 |
+
}),
|
| 2712 |
+
credentials: 'include'
|
| 2713 |
})
|
| 2714 |
.then(response => {
|
| 2715 |
console.log('Response received, status:', response.status);
|
|
|
|
| 2882 |
|
| 2883 |
{% block extra_scripts %}{% endblock %}
|
| 2884 |
</body>
|
| 2885 |
+
</html>
|