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.
1 parent 31d3359 commit 2d08680Copy full SHA for 2d08680
lessons/14-whats-next/server.js
@@ -11,7 +11,7 @@ var app = express()
11
app.use(compression())
12
13
// serve our static stuff like index.css
14
-app.use(express.static(path.join(__dirname, 'public')))
+app.use(express.static(path.join(__dirname, 'public'), {index: false}))
15
16
// send all requests to index.html so browserHistory works
17
app.get('*', (req, res) => {
0 commit comments