aboutsummaryrefslogtreecommitdiff
path: root/cmd/web/main.go
diff options
context:
space:
mode:
authorSamuel Johnson <[email protected]>2025-12-11 02:51:42 -0500
committerSamuel Johnson <[email protected]>2025-12-11 02:51:42 -0500
commitd4ad397b85994d4d6fdfbf75ce1bc65fdb2f9b33 (patch)
tree7dfe7586ed1b7c72432d98a467a82f785c2e557f /cmd/web/main.go
parent6785f856b81b6c0de8c8828761779732b30191af (diff)
Add RSS feed constructor
Diffstat (limited to 'cmd/web/main.go')
-rw-r--r--cmd/web/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/web/main.go b/cmd/web/main.go
index 00286b8..d4deaff 100644
--- a/cmd/web/main.go
+++ b/cmd/web/main.go
@@ -43,6 +43,7 @@ func main() {
if err != nil {
app.Env.AppPort = 5005
}
+ app.Env.Serv = os.Getenv("serv")
connStr := fmt.Sprintf("host=%s port=%d user=%s password=%s dbname=%s sslmode=disable",
app.Env.Db.Host,