Skip to content

Commit

Permalink
fix($core): correct swapped ssr.html and dev.html (#924)
Browse files Browse the repository at this point in the history
  • Loading branch information
spinda authored and ulivz committed Oct 14, 2018
1 parent c95c09f commit 3019339
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@vuepress/core/lib/prepare/AppContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ module.exports = class AppContext {
const { siteSsrTemplate, siteDevTemplate } = this.siteConfig

const templateDir = path.resolve(this.vuepressDir, 'templates')
const siteSsrTemplate2 = path.resolve(templateDir, 'dev.html')
const siteDevTemplate2 = path.resolve(templateDir, 'ssr.html')
const siteSsrTemplate2 = path.resolve(templateDir, 'ssr.html')
const siteDevTemplate2 = path.resolve(templateDir, 'dev.html')

const { themeSsrTemplate, themeDevTemplate } = this.themeEntryFile

Expand Down

0 comments on commit 3019339

Please sign in to comment.