Open aryanmehrotra opened 2 days ago
Can you please tell the way to reproduce this issue as when I was trying with one of the examples present in Gofr repo, I got error level log
@shashank-zopsmart as shown in the issue description you need to create a directory and then give it's path to our app.AddStaticFiles method.
Kindly refer to this documentation: https://github.com/gofr-dev/gofr/blob/development/docs/advanced-guide/serving-static-files/page.md
@Umang01-hash I tried following scenarios:
I tried adding a static file server, but I didn't get any logs when the path was wrong, and no endpoints were registered from the directory.
I would need to get inside the code and figure out that the path should start with
./
May be
./
can be automatically added or Debug logs should be present to debug easier without going inside the code.