Skip to content

Commit 61c51ba

Browse files
committed
Add trailing slash to news path in nuxt.config.js generate
1 parent 5c8ce8b commit 61c51ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nuxt.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ export default {
154154
})
155155
.then((res) =>
156156
res.data.contents.map((content) => ({
157-
route: '/news/' + content.id,
157+
route: '/news/' + content.id + '/',
158158
payload: content,
159159
}))
160160
)

0 commit comments

Comments
 (0)