Update URL for v9#537
Conversation
Reviewer's guide (collapsed on small PRs)Reviewer's GuideUpdates the default backend base URL used for Unity Asset Store releases to a new version-specific endpoint for v9, ensuring older versions keep working against their existing URLs. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughA default base URL constant in the Asset Store release preparation script was updated from an HTTP localhost endpoint to an HTTPS hosted endpoint with a trailing slash, modifying the default remote URL behavior. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
✨ Finishing touches
📜 Recent review detailsConfiguration used: defaults Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Hey - I've left some high level feedback:
- Since this URL will change with each major version, consider centralizing it in a small config or versioned constant so you don't need to touch the script code every time and can avoid hard-coded, hash-like hostnames here.
- The new URL includes a trailing slash while the previous one did not; double-check that callers that concatenate paths to
DefaultBaseUrlwon't produce double slashes or rely on the absence of a trailing slash.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- Since this URL will change with each major version, consider centralizing it in a small config or versioned constant so you don't need to touch the script code every time and can avoid hard-coded, hash-like hostnames here.
- The new URL includes a trailing slash while the previous one did not; double-check that callers that concatenate paths to `DefaultBaseUrl` won't produce double slashes or rely on the absence of a trailing slash.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
I'll change the URL every major version change so things don't break for users on old versions on the Asset Store
Summary by Sourcery
Enhancements:
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.