import express from 'express'
import path from 'path'
import setHeaders from './set-headers'

const server = express()

// don't identify as an express server
server.disable('x-powered-by')

// serve all static files from the /public folder
server.use(
  express.static(path.join(__dirname, 'public'), {
    maxAge: '1y',
    setHeaders
  })
)

// listen on port 80
server.listen(80)

@@ -219,17 +219,16 @@
 rom the 
-/
 public f
@@ -233,16 +233,16 @@
  folder%0A
+
 server.u
@@ -337,16 +337,145 @@
   %7D)%0A)%0A%0A
+// serve index.html for all routes%0Aserver.get('*', (req, res) =%3E %7B%0A  res.sendFile(path.join(__dirname, 'public/index.html'))%0A%7D)%0A%0A
 // liste

Fix nested routes (#158)