유희정

modify error

var express = require('express');
var router = express.Router();
var gcal = require('google-calendar');
const { localISOdt } = require('local-iso-dt');
var accessToken;
var id;
......@@ -65,6 +64,10 @@ router.post('/remove', function(req, res, next) {
});
router.get('/kakao', function(req,res,next){
console.log("success");
});
var timestamp = function (date) {
var pad = function (amount, width) {
var padding = "";
......@@ -85,6 +88,7 @@ var timestamp = function (date) {
+ ":" + pad(Math.abs(offset) % 60, 2);
}
module.exports = router;
//timestamp(new Date(1983, 4, 9, 11, 5, 17));
\ No newline at end of file
......
......@@ -2,6 +2,7 @@
<html>
<head>
<link rel='stylesheet' href='/stylesheets/style.css' />
<a href="/events/kakao">kakao login</a>
</head>
<body>
<h1><%= id %></h1>
......