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