Skip to content

Commit

Permalink
Fix express error
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgeny Talagaev committed Oct 16, 2023
1 parent eb8ec29 commit 2894832
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ app.use(cors());

app.use(express.static('build'));

// @ts-ignore
app.get('*', (req, res) => {
res.sendFile(path.join(__dirname, 'build/index.html'))
})
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"esModuleInterop": true,
"noEmit": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noUnusedParameters": false,
"noImplicitAny": true,
"noImplicitReturns": true,
"skipLibCheck": true,
Expand Down

0 comments on commit 2894832

Please sign in to comment.