mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
parent
04646c5e70
commit
9c24c110b6
@ -31,8 +31,7 @@ export async function serve (cmd) {
|
||||
app.use(
|
||||
options.router.base,
|
||||
serveStatic(options.generate.dir, {
|
||||
extensions: ['html'],
|
||||
redirect: !!options.router.trailingSlash
|
||||
extensions: ['html']
|
||||
})
|
||||
)
|
||||
if (options.generate.fallback) {
|
||||
|
Loading…
Reference in New Issue
Block a user