Delete commented code

This commit is contained in:
cyber-dream 2023-04-13 18:03:07 +03:00
parent c4d3eae21a
commit 8cb9b62b9d

11
main.go
View File

@ -79,14 +79,10 @@ func main() {
}
websiteapp.Route(apps.Group("/storage"), &appsStorage)
// personalpropsroute.Route(apps.Group("/personalproperties"))
}
app := router.Group("application")
{
// app.GET("test", func(ctx *gin.Context) {
// ctx.Status(http.StatusOK)
// })
persPropApp := app.Group("personal-properties")
{
persPropApp.GET("render", func(ctx *gin.Context) {
@ -132,14 +128,7 @@ func main() {
router.GET("/test", func(ctx *gin.Context) {
ctx.HTML(200, "kek/kek.tmpl", gin.H{})
})
// router.GET("/room/:roomid", roomGET)
// router.POST("/room-post/:roomid", roomPOST)
// router.GET("/stream/:roomid", streamRoom)
// port := os.Getenv("PORT")
// if port == "" {
// port = "8080"
// }
if err := router.Run(":8080"); err != nil {
log.Panicf("error: %s", err)
}