Now can alternatively generate a static page for a URL from pages, or dynamically return it with c.Render from views. Did this for games and streams.

This commit is contained in:
Zed A. Shaw 2025-07-10 11:46:56 -04:00
parent cb537328ff
commit d095bc9ff4
6 changed files with 45 additions and 94 deletions

View file

@ -9,8 +9,8 @@ import (
"github.com/gofiber/fiber/v2/middleware/logger"
"github.com/gofiber/template/html/v2"
_ "github.com/mattn/go-sqlite3"
recov "github.com/gofiber/fiber/v2/middleware/recover"
_ "github.com/mattn/go-sqlite3"
recov "github.com/gofiber/fiber/v2/middleware/recover"
"zedshaw.games/webapp/api"
"zedshaw.games/webapp/data"