Accessing the filesystem during build time in a route handler
Unanswered
Worthen's Sparrow posted this in #help-forum
Worthen's SparrowOP
In a "/app" style project, I'm trying to create an API response at build time so that I can have a fully static site.
How do I access the local filesystem to build that response (like "getStaticProps" used to allow - but isn't available in '/app' style projects)?
How do I access the local filesystem to build that response (like "getStaticProps" used to allow - but isn't available in '/app' style projects)?
1 Reply
Boreal Chickadee
did you find a solution to this?