mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-25 01:58:35 +01:00
15 lines
309 B
Go
15 lines
309 B
Go
package ng
|
|
|
|
import "os"
|
|
|
|
// RepositoryController handles request to /ng/repository
|
|
type RepositoryController struct {
|
|
BaseController
|
|
}
|
|
|
|
// Get renders repository page
|
|
func (rc *RepositoryController) Get() {
|
|
rc.Data["HarborRegUrl"] = os.Getenv("HARBOR_REG_URL")
|
|
rc.Forward("Repository", "repository.htm")
|
|
}
|