Skip to content

Commit

Permalink
chore: path.join 사용
Browse files Browse the repository at this point in the history
  • Loading branch information
potados99 committed Feb 27, 2022
1 parent e35161e commit 17ffa13
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@

## 업데이트 로그

### 2022.2.28 v2.3.12
- `path.join()` 사용.

### 2022.2.22 v2.3.11
- 교내 API 서버 변경에 대응.

Expand Down
3 changes: 2 additions & 1 deletion lib/infrastructure/webserver/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

import path from 'path';
import config from '../../../config';
import express from 'express';
import cookieParser from 'cookie-parser';
Expand Down Expand Up @@ -74,7 +75,7 @@ export default async function startServer() {

app.use(recorder());

await registerRoutes(app, __dirname + '/routes');
await registerRoutes(app, path.join(__dirname, 'routes'));

app.use(errorHandler());

Expand Down

0 comments on commit 17ffa13

Please sign in to comment.