Skip to content

Commit

Permalink
Added format on save
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed Sep 29, 2024
1 parent 66dc47d commit 6b9e42a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
{}
{
"editor.formatOnSave": true
}
2 changes: 1 addition & 1 deletion src/backend/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export function response<R>(status: StatusCodes = StatusCodes.OK, result?: R, er
status,
statusText,
headers: {
'Access-Control-Allow-Origin': '*',
'access-control-allow-origin': '*',
'content-type': 'application/json; charset=utf-8',
},
});
Expand Down

0 comments on commit 6b9e42a

Please sign in to comment.