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