Jinsu Park

CORS 허용 설정

const config = require('./config/config')
const app = require('express')();
const cors = require('cors')
app.use(cors()) //express 기본 응답에 대한 cors
const http = require('http').Server(app);
const io = require('socket.io')(http);
const io = require('socket.io')(http, {
cors:{
origin: "*",
}
});
const papago = require('./openAPIs/papago_api');
const tmi = require('tmi.js');
......