diff --git a/backend/init/router/router.go b/backend/init/router/router.go index 214cfcc6a..e694fa713 100644 --- a/backend/init/router/router.go +++ b/backend/init/router/router.go @@ -4,6 +4,7 @@ import ( "fmt" "net/http" + v1 "github.com/1Panel-dev/1Panel/backend/app/api/v1" "github.com/1Panel-dev/1Panel/backend/global" "github.com/1Panel-dev/1Panel/backend/i18n" "github.com/1Panel-dev/1Panel/backend/middleware" @@ -63,6 +64,8 @@ func Routers() *gin.Engine { PublicGroup.GET("/health", func(c *gin.Context) { c.JSON(200, "ok") }) + baseApi := v1.ApiGroupApp.BaseApi + PublicGroup.GET("/api/v1/respagecode", baseApi.GetResponsePage) PublicGroup.Use(gzip.Gzip(gzip.DefaultCompression)) setWebStatic(PublicGroup) } diff --git a/backend/router/ro_base.go b/backend/router/ro_base.go index 21b28b2d0..0ea3808b1 100644 --- a/backend/router/ro_base.go +++ b/backend/router/ro_base.go @@ -18,6 +18,5 @@ func (s *BaseRouter) InitRouter(Router *gin.RouterGroup) { baseRouter.POST("/logout", baseApi.LogOut) baseRouter.GET("/demo", baseApi.CheckIsDemo) baseRouter.GET("/language", baseApi.GetLanguage) - baseRouter.GET("/respagecode", baseApi.GetResponsePage) } } diff --git a/frontend/src/api/modules/auth.ts b/frontend/src/api/modules/auth.ts index 75837cd32..b0f5e206f 100644 --- a/frontend/src/api/modules/auth.ts +++ b/frontend/src/api/modules/auth.ts @@ -22,7 +22,7 @@ export const checkIsSafety = (code: string) => { }; export const getResponsePage = () => { - return http.get(`/auth/respagecode`); + return http.get(`/respagecode`); }; export const checkIsDemo = () => { diff --git a/frontend/src/views/home/images/de.jpg b/frontend/src/views/home/images/de.jpg deleted file mode 100644 index 1d1b91db6..000000000 Binary files a/frontend/src/views/home/images/de.jpg and /dev/null differ diff --git a/frontend/src/views/home/images/halo.jpg b/frontend/src/views/home/images/halo.jpg deleted file mode 100644 index 411f5cd85..000000000 Binary files a/frontend/src/views/home/images/halo.jpg and /dev/null differ diff --git a/frontend/src/views/home/images/js.jpg b/frontend/src/views/home/images/js.jpg deleted file mode 100644 index d4617cf5b..000000000 Binary files a/frontend/src/views/home/images/js.jpg and /dev/null differ diff --git a/frontend/src/views/home/images/ko.jpg b/frontend/src/views/home/images/ko.jpg deleted file mode 100644 index 00415b040..000000000 Binary files a/frontend/src/views/home/images/ko.jpg and /dev/null differ diff --git a/frontend/src/views/home/images/kubepi.jpg b/frontend/src/views/home/images/kubepi.jpg deleted file mode 100644 index 872ad48b2..000000000 Binary files a/frontend/src/views/home/images/kubepi.jpg and /dev/null differ diff --git a/frontend/src/views/home/images/ms.jpg b/frontend/src/views/home/images/ms.jpg deleted file mode 100644 index 066bff59d..000000000 Binary files a/frontend/src/views/home/images/ms.jpg and /dev/null differ diff --git a/frontend/src/views/home/status/index.vue b/frontend/src/views/home/status/index.vue index ce4e3049b..52a7a6bdd 100644 --- a/frontend/src/views/home/status/index.vue +++ b/frontend/src/views/home/status/index.vue @@ -1,7 +1,12 @@