Skip to content

Commit

Permalink
Teste deploy na vercel - 4 - Back-end.
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielSS187 committed Feb 15, 2023
1 parent 3c0fc4e commit f84cdc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion back-end/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"start": "node ./dist/index.js",
"start": "npx tsup src && node ./dist/index.js",
"dev": "tsx watch src/index.ts",
"build": "tsup src",
"test": "echo \"Error: no test specified\" && exit 1",
Expand Down
2 changes: 1 addition & 1 deletion back-end/src/Errors/CustomError.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export class CustomError extends Error {
constructor(
public message: Record<string, string> | any, public statusCode: number){
public message: string, public statusCode: number){
super(JSON.stringify(message))
};
};

2 comments on commit f84cdc4

@vercel
Copy link

@vercel vercel bot commented on f84cdc4 Feb 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on f84cdc4 Feb 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

modern-to-do-list – ./front-end

modern-to-do-list-git-main-gabrielss187.vercel.app
modern-to-do-list.vercel.app
modern-to-do-list-gabrielss187.vercel.app

Please sign in to comment.