separate frontend
This commit is contained in:
parent
1613c2839e
commit
1c2f54b8dd
2
Makefile
2
Makefile
|
|
@ -1,4 +1,4 @@
|
||||||
IMAGE_TAG ?= docker.educg.net/cg/k8s-manager:v1.1.2
|
IMAGE_TAG ?= docker.educg.net/cg/k8s-manager:v1.1.3
|
||||||
|
|
||||||
build: export CGO_ENABLED=0
|
build: export CGO_ENABLED=0
|
||||||
build: export GOOS=linux
|
build: export GOOS=linux
|
||||||
|
|
|
||||||
2
main.go
2
main.go
|
|
@ -169,7 +169,7 @@ func Login(c *gin.Context, username string) {
|
||||||
//} else {
|
//} else {
|
||||||
// redirectUrl = fmt.Sprintf("/%s/index", os.Getenv("URL_PREFIX"))
|
// redirectUrl = fmt.Sprintf("/%s/index", os.Getenv("URL_PREFIX"))
|
||||||
//}
|
//}
|
||||||
c.Redirect(http.StatusTemporaryRedirect, "/admin-page")
|
c.Redirect(http.StatusTemporaryRedirect, "/admin-page/")
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestToken(c *gin.Context) {
|
func TestToken(c *gin.Context) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue