I want to connect the client web page for socketIO and admin-UI.
But this error appeared.

When I use the code below.
const { createServer } = require("http");
const Server = require("socket.io");
const { instrument } = require("@socket.io/admin-ui");
const httpServer = createServer();
const io = new Server(httpServer, {
cors: {
origin: ["https://admin.socket.io"],
credentials: true
}
});
instrument(io, {
auth: false
});
httpServer.listen(3000);
I want to connect the client web page for socketIO and admin-UI.
But this error appeared.
When I use the code below.