We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e36e09b + a91472b commit b159b94Copy full SHA for b159b94
server.js
@@ -17,7 +17,7 @@ function check () {
17
}
18
app.use(healthCheck.middleware([check]))
19
// app.use(requireHTTPS) // removed because app servers don't handle https
20
-app.use(express.static(__dirname))
+// app.use(express.static(__dirname))
21
app.use(express.static(path.join(__dirname, 'build')))
22
app.get('/*', (req, res) => res.sendFile(path.join(__dirname, 'build', 'index.html')))
23
const port = process.env.PORT || 3000
0 commit comments