Add obsolete notation
This commit is contained in:
parent
68664c1bf3
commit
46e3bcf865
@ -21,9 +21,11 @@ func (f *FinderApplication) PublicRoutes(routes *gin.RouterGroup) {
|
|||||||
ctx.HTML(http.StatusOK, "finder/app.tmpl", f.Render(appCtx))
|
ctx.HTML(http.StatusOK, "finder/app.tmpl", f.Render(appCtx))
|
||||||
})
|
})
|
||||||
|
|
||||||
|
//Obsolete
|
||||||
routes.GET("renderMobileDesktop", func(ctx *gin.Context) {
|
routes.GET("renderMobileDesktop", func(ctx *gin.Context) {
|
||||||
ctx.HTML(http.StatusOK, "finder/mobile-desktop.tmpl", gin.H{})
|
ctx.HTML(http.StatusOK, "finder/mobile-desktop.tmpl", gin.H{})
|
||||||
})
|
})
|
||||||
|
|
||||||
routes.POST("renderDesktop", func(ctx *gin.Context) {
|
routes.POST("renderDesktop", func(ctx *gin.Context) {
|
||||||
path := ctx.Query("path")
|
path := ctx.Query("path")
|
||||||
if path == "" {
|
if path == "" {
|
||||||
|
Loading…
Reference in New Issue
Block a user