Merge branch 'master' into navigate_fix

This commit is contained in:
Rich Harris
2019-04-27 11:11:27 -04:00
committed by GitHub
11 changed files with 158 additions and 64 deletions

View File

@@ -0,0 +1,8 @@
export function get(req, res, next) {
if (req.headers.accept === 'application/json') {
res.end('{"json":true}');
return;
}
next();
}

View File

@@ -0,0 +1 @@
<h1>HTML</h1>