Files in serverless functions
Last active 9 days ago
4 replies
1 views
- FE
I'm trying to use the method .sendFile() in one serverless function to serve a simple index.html but with no lucky on dev environment. When deploying serverless functions, nhost copy the files? what can i do to serve this index.html through one serverless function?
- GU
mmm I think it depends on the file extension -- check this thread and associated issue https://discord.com/channels/552499021260914688/1059774653297610794 maybe it's relevant
- FE
Thanks for the quick answer @guicurcio ! π checking the issue here
- EL
I've never tried something like this so I'm also in the dark here. Let us know if you do any findings.
Last active 9 days ago
4 replies
1 views