Commit 50396977 authored by Choi Ga Young's avatar Choi Ga Young
Browse files

해결전

parent 94e62592
......@@ -140,6 +140,8 @@ function Apply(props) {
dateFormat="yyyy.MM.dd"
placeholderText="yyyy-mm-dd"
minDate={new Date()}
disabledDays={[{ daysOfWeek: [0, 6] }]}
/>
{/*<div className={touched.date && errors.date ? "text-danger" : ""}>신청날짜</div>
<input
......
......@@ -37,7 +37,7 @@ router.post('/', function (req, res, next) {
const token = jwt.sign({
id: users.id,
}, process.env.JWT_SECRET, {
expiresIn: '30m',
expiresIn: '1h',
});
return res.status(201).json({
token,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment