separate frontend

This commit is contained in:
w-mj 2023-03-11 21:12:31 +08:00
parent 1613c2839e
commit 1c2f54b8dd
No known key found for this signature in database
GPG Key ID: 3A2CB5BE2F835897
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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) {