La connexion websocket fonctionne maintenant.
This commit is contained in:
@@ -18,9 +18,7 @@
|
||||
import { onMount } from 'svelte';
|
||||
import io from 'socket.io-client';
|
||||
const socket = io('http://transcendance:8080',{
|
||||
query: {
|
||||
path: '/chat',
|
||||
}
|
||||
});
|
||||
onMount(async => {
|
||||
socket.on('connect', function(){
|
||||
|
||||
Reference in New Issue
Block a user