-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
bugfix: fixed urls that missing the customized prefix such as '/apollo' #5138
base: master
Are you sure you want to change the base?
Conversation
WalkthroughThe changes entail updating URL constructions in various JavaScript files within the Changes
Assessment against linked issues
Poem
Recent Review DetailsConfiguration used: CodeRabbit UI Files selected for processing (6)
Files skipped from review as they are similar to previous changes (5)
Additional Context UsedLanguageTool (2)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
CLA Assistant Lite bot: I have read the CLA Document and I hereby sign the CLA You can retrigger this bot by commenting recheck in this Pull Request |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 2
Out of diff range and nitpick comments (1)
CHANGES.md (1)
Line range hint
1-1
: Add a blank line after "Release Notes." for proper Markdown formatting.Release Notes. + Apollo 2.3.0
@@ -11,6 +11,6 @@ Apollo 2.3.0 | |||
* [apollo assembly optimization](https://github.com/apolloconfig/apollo/pull/5035) | |||
* [update the config item table column width](https://github.com/apolloconfig/apollo/pull/5131) | |||
* [sync apollo portal server config to apollo quick start server](https://github.com/apolloconfig/apollo/pull/5134) | |||
|
|||
* [Fix missing **prefix path** of some URLs in Apollo Portal](https://github.com/apolloconfig/apollo/pull/5138) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Capitalize "URLs" for consistency.
- * [Fix missing **prefix path** of some URLs in Apollo Portal](https://github.com/apolloconfig/apollo/pull/5138)
+ * [Fix missing **prefix path** of some URLs in Apollo Portal](https://github.com/apolloconfig/apollo/pull/5138)
Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation.
* [Fix missing **prefix path** of some URLs in Apollo Portal](https://github.com/apolloconfig/apollo/pull/5138) | |
* [Fix missing **prefix path** of some URLs in Apollo Portal](https://github.com/apolloconfig/apollo/pull/5138) |
* [sync apollo portal server config to apollo quick start server](https://github.com/apolloconfig/apollo/pull/5134) | ||
|
||
* [Fix missing **prefix path** of some URLs in Apollo Portal](https://github.com/apolloconfig/apollo/pull/5138) | ||
------------------ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add blank lines around the list of changes for proper Markdown formatting.
* [sync apollo portal server config to apollo quick start server](https://github.com/apolloconfig/apollo/pull/5134)
+
* [Fix missing **prefix path** of some URLs in Apollo Portal](https://github.com/apolloconfig/apollo/pull/5138)
+
------------------
Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation.
* [sync apollo portal server config to apollo quick start server](https://github.com/apolloconfig/apollo/pull/5134) | |
* [Fix missing **prefix path** of some URLs in Apollo Portal](https://github.com/apolloconfig/apollo/pull/5138) | |
------------------ | |
* [sync apollo portal server config to apollo quick start server](https://github.com/apolloconfig/apollo/pull/5134) | |
* [Fix missing **prefix path** of some URLs in Apollo Portal](https://github.com/apolloconfig/apollo/pull/5138) | |
------------------ |
How about use template strings to concatenate strings, and the same type of address prefixes can be put in a common method? |
What's the purpose of this PR
Fix bug while importing the configuration's file
Which issue(s) this PR fixes:
Fixes #5137
Brief changelog
Add the prefix path such as /apollo to those urls that were missed in apollo-portal
Follow this checklist to help us incorporate your contribution quickly and easily:
mvn clean test
to make sure this pull request doesn't break anything.CHANGES
log.Summary by CodeRabbit
New Features
Refactor
AppUtil
prefix path method across multiple services to standardize URL generation and improve maintainability.