[PR #573] [MERGED] feat: |worker| health_check add JWT_SECRET and DOMAINS #636

Closed
opened 2026-02-26 21:32:09 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dreamhunter2333/cloudflare_temp_email/pull/573
Author: @dreamhunter2333
Created: 1/23/2025
Status: Merged
Merged: 1/24/2025
Merged by: @dreamhunter2333

Base: mainHead: feature/dev


📝 Commits (1)

  • 71c99df feat: |worker| health_check add JWT_SECRET and DOMAINS

📊 Changes

1 file changed (+15 additions, -8 deletions)

View changed files

📝 worker/src/worker.ts (+15 -8)

📄 Description

PR Type

enhancement


Description

  • Added JWT_SECRET and DOMAINS checks to health check endpoint.

  • Refactored health check logic into a separate function.

  • Imported getStringArray utility function.


Changes walkthrough 📝

Relevant files
Enhancement
worker.ts
Enhance health check endpoint with additional validations

worker/src/worker.ts

  • Added JWT_SECRET and DOMAINS checks to health check endpoint.
  • Refactored health check logic into a separate function.
  • Imported getStringArray utility function.
  • +15/-8   

    Need help?
  • Type /help how to ... in the comments thread for any questions about PR-Agent usage.
  • Check out the documentation for more information.

  • 🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

    ## 📋 Pull Request Information **Original PR:** https://github.com/dreamhunter2333/cloudflare_temp_email/pull/573 **Author:** [@dreamhunter2333](https://github.com/dreamhunter2333) **Created:** 1/23/2025 **Status:** ✅ Merged **Merged:** 1/24/2025 **Merged by:** [@dreamhunter2333](https://github.com/dreamhunter2333) **Base:** `main` ← **Head:** `feature/dev` --- ### 📝 Commits (1) - [`71c99df`](https://github.com/dreamhunter2333/cloudflare_temp_email/commit/71c99df1b309d82a773b7ef35687ea2f102be083) feat: |worker| health_check add JWT_SECRET and DOMAINS ### 📊 Changes **1 file changed** (+15 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `worker/src/worker.ts` (+15 -8) </details> ### 📄 Description ### **PR Type** enhancement ___ ### **Description** - Added `JWT_SECRET` and `DOMAINS` checks to health check endpoint. - Refactored health check logic into a separate function. - Imported `getStringArray` utility function. ___ ### **Changes walkthrough** 📝 <table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><table> <tr> <td> <details> <summary><strong>worker.ts</strong><dd><code>Enhance health check endpoint with additional validations</code></dd></summary> <hr> worker/src/worker.ts <li>Added <code>JWT_SECRET</code> and <code>DOMAINS</code> checks to health check endpoint.<br> <li> Refactored health check logic into a separate function.<br> <li> Imported <code>getStringArray</code> utility function. </details> </td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/573/files#diff-c007030a206d7e4e2a4879ba673551e7633ad914b67cfac204096edced3f80a2">+15/-8</a>&nbsp; &nbsp; </td> </tr> </table></td></tr></tr></tbody></table> ___ > <details> <summary> Need help?</summary><li>Type <code>/help how to ...</code> in the comments thread for any questions about PR-Agent usage.</li><li>Check out the <a href="https://qodo-merge-docs.qodo.ai/usage-guide/">documentation</a> for more information.</li></details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
    kerem 2026-02-26 21:32:09 +03:00
    Sign in to join this conversation.
    No milestone
    No project
    No assignees
    1 participant
    Notifications
    Due date
    The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

    No due date set.

    Dependencies

    No dependencies set.

    Reference
    starred/cloudflare_temp_email#636
    No description provided.