mirror of
https://github.com/goharbor/harbor
synced 2025-04-20 16:16:00 +00:00
fix path typo
This commit is contained in:
parent
42c398fac8
commit
d725947517
|
@ -25,9 +25,9 @@ import (
|
||||||
|
|
||||||
func initRouters() {
|
func initRouters() {
|
||||||
|
|
||||||
beego.SetStaticPath("registry/static/i18n", "/static/i18n")
|
beego.SetStaticPath("registry/static/i18n", "static/i18n")
|
||||||
beego.SetStaticPath("registry/static/resources", "/static/resources")
|
beego.SetStaticPath("registry/static/resources", "static/resources")
|
||||||
beego.SetStaticPath("registry/static/vendors", "/static/vendors")
|
beego.SetStaticPath("registry/static/vendors", "static/vendors")
|
||||||
|
|
||||||
beego.Router("/login", &controllers.CommonController{}, "post:Login")
|
beego.Router("/login", &controllers.CommonController{}, "post:Login")
|
||||||
beego.Router("/logout", &controllers.CommonController{}, "get:Logout")
|
beego.Router("/logout", &controllers.CommonController{}, "get:Logout")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user