Skip to content
New issue

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

fix: restore default docs URL in FastAPI initialization #256

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

mo0haned
Copy link
Collaborator

No description provided.

@mo0haned mo0haned self-assigned this Jan 16, 2025
@purshottam-sharma
Copy link
Collaborator

@mo0haned Hope you are doing well. Please make sure to create branches based on the SOP document circulated. Also kindly plesae assign a reviewer.

@thomas-chu123
Copy link
Collaborator

One suggestion. If we already add the IP checking in the APP middleware (added by Eduardo) and have the certificate to protect the access to the API who owns the certificate, how about we only keep the below line since enabling trace or not has no meaning now (both of them will enable the default /docs viewpoint on FastAPI.

self.app = FastAPI(debug=False)

@mo0haned
Copy link
Collaborator Author

I agree. this was just a quick edit for the new guys to test the docs.
we can change that as you mentioned

@thomas-chu123 thomas-chu123 merged commit cb7bc78 into dev Feb 3, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants