Add obsolete notation

This commit is contained in:
Gregory Brzezinski 2023-07-22 21:15:17 +03:00
parent 68664c1bf3
commit 46e3bcf865

View File

@ -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 == "" {