logout.js 279 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 var Conn = require('../database/database') var express = require('express') var router = express.Router(); //라우팅 함수 등록 router.get('/',function(req,res){ req.session.destroy(function() { req.session; }); res.render('index.ejs') }); module.exports = router