mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Log more directories
This commit is contained in:
parent
b9ec5e9a83
commit
7ef38e80fe
1 changed files with 7 additions and 1 deletions
|
|
@ -43,12 +43,18 @@ export async function getStaticProps({ params }) {
|
||||||
|
|
||||||
// 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('./')
|
||||||
|
const dotnext = await fs.readdir('./.next')
|
||||||
|
const server = await fs.readdir('./.next/server')
|
||||||
|
const chunks = await fs.readdir('./.next/server/chunks')
|
||||||
|
|
||||||
// console.log('endpointListings', endpointListings[0])
|
// console.log('endpointListings', endpointListings[0])
|
||||||
|
|
||||||
let pageListing = {
|
let pageListing = {
|
||||||
// allEndpointListings,
|
// allEndpointListings,
|
||||||
currentDirectory
|
currentDirectory,
|
||||||
|
dotnext,
|
||||||
|
server,
|
||||||
|
chunks
|
||||||
}
|
}
|
||||||
|
|
||||||
const start = '/formula/'
|
const start = '/formula/'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue