1
0
mirror of https://github.com/goharbor/harbor.git synced 2025-01-04 23:17:45 +01:00
harbor/controllers/ng/repository.go

13 lines
220 B
Go

package ng
import "os"
type RepositoryController struct {
BaseController
}
func (rc *RepositoryController) Get() {
rc.Data["HarborRegUrl"] = os.Getenv("HARBOR_REG_URL")
rc.Forward("Repository", "repository.htm")
}