mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-05 20:07:16 +00:00
Missing )
This commit is contained in:
parent
d787ab4e0a
commit
24a93e8b8b
@ -74,7 +74,7 @@ export default class Generator extends Tapable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const indexPath = join(this.distPath, 'index.html')
|
const indexPath = join(this.distPath, 'index.html')
|
||||||
if (existsSync(indexPath) {
|
if (existsSync(indexPath)) {
|
||||||
// Copy /index.html to /200.html for surge SPA
|
// Copy /index.html to /200.html for surge SPA
|
||||||
// https://surge.sh/help/adding-a-200-page-for-client-side-routing
|
// https://surge.sh/help/adding-a-200-page-for-client-side-routing
|
||||||
const _200Path = join(this.distPath, '200.html')
|
const _200Path = join(this.distPath, '200.html')
|
||||||
|
Loading…
Reference in New Issue
Block a user