Skip to content

Commit

Permalink
#203 이미지 업로드 static 폴더 경로 모듈화
Browse files Browse the repository at this point in the history
  • Loading branch information
ho-sick99 committed Aug 10, 2023
1 parent 3f1e13e commit a792cca
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions server/src/config/staticDirLoc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
const path = require('path');
const imgsDir = path.join(__dirname, '..', 'imgs'); // path to save uploaded files

module.exports = {
imgsDir
};

0 comments on commit a792cca

Please sign in to comment.