res
.cookie('token', token, {
maxAge: 86400,
httpOnly: false
})
.send('OK')
const cors = require('cors')
const cookieParser = require('cookie-parser')
axios.defaults.withCredentials = true
const cors = require('cors')
app.use(cors)
app.use(cors);
app.use(
cors({
credentials: true,
ENV
}),
)