mirror of
https://github.com/goharbor/harbor.git
synced 2024-09-06 11:08:11 +02:00
15 lines
315 B
Go
15 lines
315 B
Go
package controllers
|
|
|
|
import "os"
|
|
|
|
// RepositoryController handles request to /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")
|
|
}
|