From 46e3bcf8657a8043648e9ac636042ad234de6c33 Mon Sep 17 00:00:00 2001 From: Gregory Brzezinski Date: Sat, 22 Jul 2023 21:15:17 +0300 Subject: [PATCH] Add obsolete notation --- apps/finder/routes.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/finder/routes.go b/apps/finder/routes.go index 2da8522..b34413e 100644 --- a/apps/finder/routes.go +++ b/apps/finder/routes.go @@ -21,9 +21,11 @@ func (f *FinderApplication) PublicRoutes(routes *gin.RouterGroup) { ctx.HTML(http.StatusOK, "finder/app.tmpl", f.Render(appCtx)) }) + //Obsolete routes.GET("renderMobileDesktop", func(ctx *gin.Context) { ctx.HTML(http.StatusOK, "finder/mobile-desktop.tmpl", gin.H{}) }) + routes.POST("renderDesktop", func(ctx *gin.Context) { path := ctx.Query("path") if path == "" {