0.1.14 build
This commit is contained in:
parent
cbf8f0d2ea
commit
45319bcbf0
10 changed files with 93 additions and 66 deletions
src/pages/database
|
@ -5,7 +5,7 @@ import { findSlug } from '../../utils/tools'
|
|||
|
||||
export function getStaticPaths() {
|
||||
const fulldata = import.meta.glob<GlobAny>(
|
||||
`../../content/data/*.json`
|
||||
`/src/content/data/*.json`
|
||||
)
|
||||
const keylist = Object.keys(fulldata).map((item) => findSlug(item)!)
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ const description = 'FGO NA TA Database'
|
|||
|
||||
const questInfo = []
|
||||
const fulldata = import.meta.glob<GlobFiledata>(
|
||||
`../../content/data/*.json`
|
||||
`/src/content/data/*.json`
|
||||
)
|
||||
|
||||
for (const [key, value] of Object.entries(fulldata)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue