Next.js Discord

Discord Forum

How can I access the excel in my public folder?

Unanswered
Lhasa Apso posted this in #help-forum
Open in Discord
Lhasa ApsoOP
I have an excel file. When the user presses the button, I want to edit and download the excel file according to the user's data. If the user imports the excel himself, my system works smoothly. But if the user tries to download the file in my system, I think the browser blocks it for security purposes. I did some research and they wrote that a simple api structure can be set up in itself, but I couldn't run it exactly (I couldn't do it).

How should I follow a path? Thank you in advance for any answer you can give me.

1 Reply