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:
parent
cb537328ff
commit
d095bc9ff4
6 changed files with 45 additions and 94 deletions
4
main.go
4
main.go
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue