How can I access the public folder since the docx is in the public folder, it always access the local directory and not the server
(https://i.sstatic.net/eqL9FAvI.png)
I tried removing the path.resolve() and I expect to access the public folder with NextJS
New contributor
Lanceee is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.