Next.js Discord

Discord Forum

Read Files in Api Routes

Unanswered
Sokoke posted this in #help-forum
Open in Discord
SokokeOP
how can I read files using fs from my API routes?
I want to dynamically read files, but I only know of importing files as modules.

0 Replies