Merge pull request #2898 from clarkdo/ssr.syntax.error

fix: SyntaxError in ssr.test
This commit is contained in:
Clark Du 2018-02-26 13:21:24 +08:00 committed by GitHub
commit 3c274e19a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ const url = route => 'http://localhost:' + port + route
const startCSPTestServer = async (t, csp) => { const startCSPTestServer = async (t, csp) => {
const options = { const options = {
rootDir: resolve(__dirname, 'fixtures/basic'), rootDir: resolve(__dirname, 'fixtures/basic'),
buildDir: '.nuxt-ssr', buildDir: '.nuxt-ssr-csp',
dev: false, dev: false,
head: { head: {
titleTemplate(titleChunk) { titleTemplate(titleChunk) {