Skip to content

Commit a91472b

Browse files
author
Vikas Agarwal
committed
Source code and other files are downloadable from Work Manager
1 parent e36e09b commit a91472b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function check () {
1717
}
1818
app.use(healthCheck.middleware([check]))
1919
// app.use(requireHTTPS) // removed because app servers don't handle https
20-
app.use(express.static(__dirname))
20+
// app.use(express.static(__dirname))
2121
app.use(express.static(path.join(__dirname, 'build')))
2222
app.get('/*', (req, res) => res.sendFile(path.join(__dirname, 'build', 'index.html')))
2323
const port = process.env.PORT || 3000

0 commit comments

Comments
 (0)