Skip to content

Commit

Permalink
feat: index.ts => main.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
fzw committed Sep 17, 2023
1 parent 1bf0640 commit 526fc7d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ COPY ./dist/ ${WORKDIR}/

EXPOSE 9000

CMD ["node", "src/index.js"]
CMD ["node", "src/main.js"]
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
"scripts": {
"prepare": "husky install",
"initial": "chmod +x ./init.sh | ./init.sh",
"dev": "nodemon -r tsconfig-paths/register src/index.ts",
"dev": "nodemon -r tsconfig-paths/register src/main.ts",
"build": "gulp",
"start": "node dist/src/index.js"
"start": "node dist/src/main.js"
},
"nodemonConfig": {
"verbose": true,
Expand Down
File renamed without changes.

0 comments on commit 526fc7d

Please sign in to comment.