realign with 0.15

This commit is contained in:
Rich Harris
2018-07-22 20:49:57 -04:00
parent 0dc9fabf37
commit c270ef8c4a
8 changed files with 100 additions and 101 deletions

View File

@@ -2,13 +2,13 @@ import sirv from 'sirv';
import polka from 'polka';
import sapper from 'sapper';
import compression from 'compression';
import { routes } from './manifest/server.js';
import { manifest } from './manifest/server.js';
polka() // You can also use Express
.use(
compression({ threshold: 0 }),
sirv('assets'),
sapper({ routes })
sapper({ manifest })
)
.listen(process.env.PORT)
.catch(err => {