mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
List copied static directory
This commit is contained in:
parent
354d1161f3
commit
f7dcf44f52
1 changed files with 3 additions and 1 deletions
|
|
@ -46,6 +46,7 @@ export async function getStaticProps({ params }) {
|
||||||
const dotnext = await fs.readdir('./.next')
|
const dotnext = await fs.readdir('./.next')
|
||||||
const server = await fs.readdir('./.next/server')
|
const server = await fs.readdir('./.next/server')
|
||||||
const chunks = await fs.readdir('./.next/server/chunks')
|
const chunks = await fs.readdir('./.next/server/chunks')
|
||||||
|
const static = await fs.readdir('./.next/server/chunks/static')
|
||||||
|
|
||||||
// console.log('endpointListings', endpointListings[0])
|
// console.log('endpointListings', endpointListings[0])
|
||||||
|
|
||||||
|
|
@ -54,7 +55,8 @@ export async function getStaticProps({ params }) {
|
||||||
currentDirectory,
|
currentDirectory,
|
||||||
dotnext,
|
dotnext,
|
||||||
server,
|
server,
|
||||||
chunks
|
chunks,
|
||||||
|
static
|
||||||
}
|
}
|
||||||
|
|
||||||
const start = '/formula/'
|
const start = '/formula/'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue