Skip to content

Conversation

@masv3971
Copy link
Collaborator

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a redirect from the registry root path (/) to the admin login page (/admin/login) to improve user experience when accessing the registry without a specific path.

Key Changes

  • Added a new endpoint handler endpointRootRedirect that performs an HTTP 302 redirect
  • Registered the root path redirect within the Admin GUI enabled block

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
internal/registry/httpserver/service.go Registered the root endpoint to redirect to /admin/login when Admin GUI is enabled
internal/registry/httpserver/endpoints.go Implemented the endpointRootRedirect handler function with HTTP 302 redirect

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@masv3971 masv3971 merged commit 04fb9ff into main Dec 18, 2025
8 checks passed
@masv3971 masv3971 deleted the masv_registry-index-redirect branch December 18, 2025 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants