@@ -65,7 +65,7 @@ app.use(cors({
optionsSuccessStatus: 200 // برای مرورگرهای قدیمی
}));
Socket.IO CORS
// Socket.IO CORS
const io = require('socket.io')(http, {
cors: {
origin: (origin, callback) => {
The note is not visible to the blocked user.