Fix: prod webview connection - #21
Merged
Merged
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughO PR atualiza a resolução dinâmica da URL da API no frontend, ajusta o endpoint de instalação de releases, amplia a busca de artefatos publicados para subdiretórios e altera a versão do backend para ChangesResolução da URL da API
Publicação de releases
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested labels: ✨ Finishing Touches📝 Generate docstrings
Comment |
This was referenced Jul 26, 2026
This was referenced Aug 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces improvements to the release workflow and enhances how the frontend determines the API base URL, making the configuration more robust and environment-aware. It also updates the application version and ensures consistency in how the API base URL is used across the codebase.
Frontend enhancements:
getApiBaseUrlfunction infrontend/src/api/client.tsto determine the API base URL based on environment variables or the current window location, with a fallback to localhost. UpdatedapiClientand its request interceptor to use this function, ensuring consistent and dynamic API endpoint resolution.frontend/src/features/releases/api/releasesApi.tsto usegetApiBaseUrlinstead of directly accessing environment variables, ensuring all API calls use the same logic for determining the base URL. [1] [2]Release workflow improvements:
.github/workflows/release.ymlto use glob patterns (**/*.deb, etc.) for asset uploads, allowing files in nested directories underrelease-assetsto be included in releases.Version update:
0.1.0-alphato0.1.1-alphainbackend/src/main/resources/application.yaml.Summary by CodeRabbit
Novidades
Correções