diff options
author | Runxi Yu <me@runxiyu.org> | 2025-03-21 15:35:29 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-03-21 15:35:29 +0800 |
commit | 897cac47296312af20c33ea0f02f173033dc86a6 (patch) | |
tree | e81de3f3f9b0a70ad04ab4621668422bcc9e3592 /main.go | |
parent | Revert "Add gohtmplgen to the build process" (diff) | |
download | forge-897cac47296312af20c33ea0f02f173033dc86a6.tar.gz forge-897cac47296312af20c33ea0f02f173033dc86a6.tar.zst forge-897cac47296312af20c33ea0f02f173033dc86a6.zip |
Rename httpRouter
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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()) } }() |