mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-20 14:06:09 +05:00
update main page from react
This commit is contained in:
@@ -2,16 +2,9 @@ package pages
|
||||
|
||||
import (
|
||||
"github.com/gin-gonic/gin"
|
||||
"server/web/pages/template"
|
||||
)
|
||||
|
||||
func mainPage(c *gin.Context) {
|
||||
c.HTML(200, "mainPage", nil)
|
||||
}
|
||||
|
||||
func apijsPage(c *gin.Context) {
|
||||
c.HTML(200, "apijsPage", nil)
|
||||
}
|
||||
|
||||
func mainjsPage(c *gin.Context) {
|
||||
c.HTML(200, "mainjsPage", nil)
|
||||
c.Data(200, "text/html; charset=utf-8", []byte(template.MainPage))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user