-
Notifications
You must be signed in to change notification settings - Fork 11
fix(connect): valid LAN FQDN while remote access is enabled #1625
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
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughAdjusts FQDN URL construction in url-resolver.service.ts: for FQDN entries, selects port based on interface type (LAN uses nginx.httpsPort; non-LAN uses wanport if present, else nginx.httpsPort) and passes that value to getUrlForField. Other resolution paths remain unchanged. No exported/public signatures altered. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant C as Caller
participant R as UrlResolver
participant N as getServerIps
participant U as getUrlForField
C->>R: resolve URLs
R->>N: getServerIps()
N->>N: For each entry
alt entry is FQDN
alt Interface = LAN
Note over N: portToUse = nginx.httpsPort
else Interface ≠ LAN
Note over N: portToUse = wanport || nginx.httpsPort
end
N->>U: getUrlForField(..., portSsl=Number(portToUse))
U-->>N: URL
else Other entry types
N->>U: getUrlForField(..., existing logic)
U-->>N: URL
end
N-->>R: URLs
R-->>C: Result
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
Tip 🔌 Remote MCP (Model Context Protocol) integration is now available!Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats. 📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. 📒 Files selected for processing (1)
✨ Finishing Touches
🧪 Generate unit tests
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
|
This plugin has been deployed to Cloudflare R2 and is available for testing. |
🤖 I have created a release *beep* *boop* --- ## [4.16.0](v4.15.1...v4.16.0) (2025-08-27) ### Features * add `parityCheckStatus` field to `array` query ([#1611](#1611)) ([c508366](c508366)) * generated UI API key management + OAuth-like API Key Flows ([#1609](#1609)) ([674323f](674323f)) ### Bug Fixes * **connect:** clear `wanport` upon disabling remote access ([#1624](#1624)) ([9df6a3f](9df6a3f)) * **connect:** valid LAN FQDN while remote access is enabled ([#1625](#1625)) ([aa58888](aa58888)) * correctly parse periods in share names from ini file ([#1629](#1629)) ([7d67a40](7d67a40)) * **rc.unraid-api:** remove profile sourcing ([#1622](#1622)) ([6947b5d](6947b5d)) * remove unused api key calls ([#1628](#1628)) ([9cd0d6a](9cd0d6a)) * retry VMs init for up to 2 min ([#1612](#1612)) ([b2e7801](b2e7801)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Stop appending
wanportto LAN FQDN when remote access is enabled.Summary by CodeRabbit