Skip to content

Commit

Permalink
Merge pull request #61 from You-hyeonyeong/master
Browse files Browse the repository at this point in the history
영우랑 서버 변경한 내용
  • Loading branch information
You-hyeonyeong authored Sep 17, 2019
2 parents 0404b13 + 3c3de08 commit 7ec859f
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 38 deletions.
2 changes: 1 addition & 1 deletion bin/www
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var http = require('http');
* Get port from environment and store in Express.
*/

var port = normalizePort(process.env.PORT || '3000');
var port = normalizePort(process.env.PORT || '3333');
app.set('port', port);

/**
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion routes/auth/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ router.use('/signin', require('./signin'));
router.use('/signup', require('./signup'));
router.use('/social', require('./social'));
router.use('/facebook', require('./facebook'));
router.use('/pwfinder', require('./pwfinder'));
router.use('/pwFinder', require('./pwFinder'));

module.exports = router;
2 changes: 1 addition & 1 deletion routes/auth/signup.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const statusCode = require('../../modules/utils/statusCode');
const db = require('../../modules/pool');
const encrytion = require('../../modules/encrytion/encrytionModule');
const crypto = require('crypto-promise');
const Notification = require('../../models/notificationSchema');
const Notification = require('../../modules/notificationSchema');

//회원가입
router.post('/', async (req, res) => {
Expand Down
1 change: 0 additions & 1 deletion routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ router.use('/mypage', require('./mypage/index'));
router.use('/archive', require('./archive/index'));
router.use('/notification', require('./notification/index'));
router.use('/category', require('./category/index'));
router.use('/practice', require('./practice'));

router.use('/search', require('./search/index'));

Expand Down
2 changes: 1 addition & 1 deletion routes/notification/notification.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const resMessage = require('../../modules/utils/responseMessage');
const statusCode = require('../../modules/utils/statusCode');
const utils = require('../../modules/utils/utils');
const authUtils = require('../../modules/utils/authUtils');
const Notification = require('../../models/notificationSchema'); //코드에 쓸 스키마 가져오기
const Notification = require('../../modules/notificationSchema'); //코드에 쓸 스키마 가져오기
const cron = require('node-cron'); //스케쥴러
const moment = require('moment');

Expand Down
33 changes: 0 additions & 33 deletions routes/practice.js

This file was deleted.

0 comments on commit 7ec859f

Please sign in to comment.