~nromdotcom/gemif

737d67f07c01335cf599e5ef930cfca198cc5feb — Norm MacLennan 11 months ago 83f5672
Fix pkger references
2 files changed, 3 insertions(+), 3 deletions(-)

M .air.toml
M pkg/gemserver/routes.go
M .air.toml => .air.toml +1 -1
@@ 2,7 2,7 @@ root = "."
tmp_dir = "tmp"

[build]
cmd = "go build -o ./tmp/gemif gemif/cmd/gemif"
cmd = "go build -o ./tmp/gemif git.sr.ht/~nromdotcom/gemif/cmd/gemif"
bin = "tmp/gemif"
log = "air.log"
delay = 1000 # ms

M pkg/gemserver/routes.go => pkg/gemserver/routes.go +2 -2
@@ 52,7 52,7 @@ func handleHome(gm *gamemanager.GameManager, version string) func(gig.Context) e
			return startStates[a].Description < startStates[b].Description
		})

		return c.Render("gemif:/static/templates/index.gmi.tmpl", map[string]interface{}{
		return c.Render("git.sr.ht/~nromdotcom/gemif:/static/templates/index.gmi.tmpl", map[string]interface{}{
			"Stories": startStates,
			"Banner":  getRandomBanner(),
			"Version": version,


@@ 88,7 88,7 @@ func handleGame(gm *gamemanager.GameManager, renderer scenerenderer.Template) fu
			return fmt.Errorf("unable to render exits: %w", speculationErr)
		}

		return c.Render("gemif:/static/templates/room.gmi.tmpl", map[string]interface{}{
		return c.Render("git.sr.ht/~nromdotcom/gemif:/static/templates/room.gmi.tmpl", map[string]interface{}{
			"RoomName":    currentRoom.Name,
			"Description": roomDesc,
			"Actions":     speculativeStates,