mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Disable stat
This commit is contained in:
parent
73ebd03c57
commit
b9ec5e9a83
1 changed files with 2 additions and 2 deletions
|
|
@ -41,13 +41,13 @@ export async function getStaticProps({ params }) {
|
||||||
// return JSON.parse(endpointsJson)
|
// return JSON.parse(endpointsJson)
|
||||||
// })
|
// })
|
||||||
|
|
||||||
const allEndpointListings = await fs.stat('./static/eleventy-endpoints.json')
|
// const allEndpointListings = await fs.stat('./static/eleventy-endpoints.json')
|
||||||
const currentDirectory = await fs.readdir('./')
|
const currentDirectory = await fs.readdir('./')
|
||||||
|
|
||||||
// console.log('endpointListings', endpointListings[0])
|
// console.log('endpointListings', endpointListings[0])
|
||||||
|
|
||||||
let pageListing = {
|
let pageListing = {
|
||||||
allEndpointListings,
|
// allEndpointListings,
|
||||||
currentDirectory
|
currentDirectory
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue