4 files changed
+2500
-1542
No files matched your search
Generated
+2497
-1539
File diff suppressed because it is too large.
Load diff
+1
-1
@@ -23,7 +23,7 @@
|
|||||||
"date-fns": "^2.11.1",
|
"date-fns": "^2.11.1",
|
||||||
"lodash": "^4.17.15",
|
"lodash": "^4.17.15",
|
||||||
"markdown-it": "^10.0.0",
|
"markdown-it": "^10.0.0",
|
||||||
"next": "^9.3.4",
|
"next": "^9.4.0",
|
||||||
"react": "^16.13.1",
|
"react": "^16.13.1",
|
||||||
"react-dom": "^16.13.1",
|
"react-dom": "^16.13.1",
|
||||||
"sitemap": "^1.5.0",
|
"sitemap": "^1.5.0",
|
||||||
|
|||||||
+1
-1
@@ -193,7 +193,7 @@ export const getStaticPaths = async () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
fallback: true,
|
fallback: false,
|
||||||
paths: urls.items
|
paths: urls.items
|
||||||
.map(path => {
|
.map(path => {
|
||||||
const slug = tail(path.split('/'))
|
const slug = tail(path.split('/'))
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ export const getStaticPaths = async () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
fallback: true,
|
fallback: false,
|
||||||
paths: urls.items
|
paths: urls.items
|
||||||
.map(x => x.replace('/document/', ''))
|
.map(x => x.replace('/document/', ''))
|
||||||
.map(slug => {
|
.map(slug => {
|
||||||
|
|||||||
Reference in new issue
Block a user