fallback false
This commit is contained in:
1 parent
6808117b9f
commit
bf7db5b226
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -193,7 +193,7 @@ export const getStaticPaths = async () => {
|
||||
}
|
||||
|
||||
return {
|
||||
fallback: true,
|
||||
fallback: false,
|
||||
paths: urls.items
|
||||
.map(path => {
|
||||
const slug = tail(path.split('/'))
|
||||
|
||||
@@ -63,7 +63,7 @@ export const getStaticPaths = async () => {
|
||||
}
|
||||
|
||||
return {
|
||||
fallback: true,
|
||||
fallback: false,
|
||||
paths: urls.items
|
||||
.map(x => x.replace('/document/', ''))
|
||||
.map(slug => {
|
||||
|
||||
Reference in new issue
Block a user