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

🌡️ feat: Add Health Check Route to Backend #1623

Merged
merged 1 commit into from
Jan 24, 2024
Merged

Conversation

danny-avila
Copy link
Owner

Closes #1619

Summary:

I added a health check route to the backend.

  • Created a new route to check the health status of the app.

This feature provides a simple way to monitor the server's status and ensure it's functioning properly.

Change Type

  • New feature (non-breaking change which adds functionality)

Testing

To test this feature, you can send a request to the newly created health check route and verify that it returns the correct status.

curl -IL http://localhost:3080/health
HTTP/1.1 200 OK
X-Powered-By: Express
Content-Type: text/html; charset=utf-8
Content-Length: 2
ETag: W/"2-nOO9QiTIwXgNtWtBJezz8kv3SLc"
Date: Wed, 24 Jan 2024 16:37:08 GMT
Connection: keep-alive
Keep-Alive: timeout=5

Checklist

  • My code adheres to this project's style guidelines
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I have written tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

@danny-avila danny-avila merged commit d2efc7b into main Jan 24, 2024
2 checks passed
@danny-avila danny-avila deleted the health-check branch January 24, 2024 16:39
cnkang pushed a commit to cnkang/LibreChat that referenced this pull request Feb 6, 2024
jinzishuai pushed a commit to aitok-ai/LibreChat that referenced this pull request May 20, 2024
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.

[Bug]: Router behaviour for v6 vs health check
1 participant