aboutsummaryrefslogtreecommitdiff
path: root/client.go
diff options
context:
space:
mode:
authorKushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com>2021-08-20 14:51:43 -0300
committerKushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com>2021-08-20 14:51:43 -0300
commit683de5193680d4c8d9df2b273daa17b4c4f847d7 (patch)
treefb0557005634fa40d182d11cd7a4aec6f38d1346 /client.go
parenta497499817cbf72b295253e1a2bb1011d121ba28 (diff)
fix a couple problems
Diffstat (limited to 'client.go')
-rw-r--r--client.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.go b/client.go
index 09db0bf..8230765 100644
--- a/client.go
+++ b/client.go
@@ -156,7 +156,7 @@ func IndexGet(w http.ResponseWriter, r *http.Request, db *sql.DB) {
func NewsGet(w http.ResponseWriter, r *http.Request, db *sql.DB, timestamp int) {
t := template.Must(template.New("").Funcs(template.FuncMap{
- "sub": mod,
+ "sub": sub,
"unixtoreadable": unixToReadable}).ParseFiles("./static/main.html", "./static/news.html"))
actor := GetActorFromDB(db, Domain)