aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-21 15:35:29 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-21 15:35:29 +0800
commit897cac47296312af20c33ea0f02f173033dc86a6 (patch)
treee81de3f3f9b0a70ad04ab4621668422bcc9e3592 /main.go
parentRevert "Add gohtmplgen to the build process" (diff)
downloadforge-897cac47296312af20c33ea0f02f173033dc86a6.tar.gz
forge-897cac47296312af20c33ea0f02f173033dc86a6.tar.zst
forge-897cac47296312af20c33ea0f02f173033dc86a6.zip
Rename httpRouter
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index a1a5223..777bd1f 100644
--- a/main.go
+++ b/main.go
@@ -89,7 +89,7 @@ func main() {
}
clog.Info("Listening HTTP on " + config.HTTP.Net + " " + config.HTTP.Addr)
go func() {
- if err = http.Serve(httpListener, &httpRouter{}); err != nil {
+ if err = http.Serve(httpListener, &forgeHTTPRouter{}); err != nil {
clog.Fatal(1, "Serving HTTP: "+err.Error())
}
}()