We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
The text was updated successfully, but these errors were encountered:
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
Sorry, something went wrong.
@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:
No branches or pull requests
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.The text was updated successfully, but these errors were encountered: