docs: remove comment about credentials flag

The `credentials: true` is always needed since the client is created
with `withCredentials: true`.
This commit is contained in:
Damien Arrachequesne 2021-06-03 11:22:14 +02:00
parent 5d92994bca
commit 5f235e31a9
No known key found for this signature in database
GPG Key ID: 544D14663E7F7CF0
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ const httpServer = createServer();
const io = new Server(httpServer, {
cors: {
origin: ["https://admin.socket.io"],
credentials: true // needed for cookie-based sticky sessions, else you can ignore this line
credentials: true
}
});