mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -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)
|
||||
// })
|
||||
|
||||
const allEndpointListings = await fs.stat('./static/eleventy-endpoints.json')
|
||||
// const allEndpointListings = await fs.stat('./static/eleventy-endpoints.json')
|
||||
const currentDirectory = await fs.readdir('./')
|
||||
|
||||
// console.log('endpointListings', endpointListings[0])
|
||||
|
||||
let pageListing = {
|
||||
allEndpointListings,
|
||||
// allEndpointListings,
|
||||
currentDirectory
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue