mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 23:52:06 +00:00
parent
135456f051
commit
b80056c96c
@ -296,6 +296,10 @@ export default class Generator {
|
||||
let html
|
||||
const pageErrors = []
|
||||
|
||||
if (this.options.router && this.options.router.trailingSlash && route[route.length - 1] !== '/') {
|
||||
route = route + '/'
|
||||
}
|
||||
|
||||
const setPayload = (_payload) => {
|
||||
payload = defu(_payload, payload)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user