summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-08 03:37:27 -0500
committerJeff Carr <[email protected]>2025-09-08 03:37:27 -0500
commit1fe6c532674ad10cbd5021a619fa0a269fe33194 (patch)
treef2c98f2f3a1df32fc71d1b1594498d2a14571e0f /main.go
parent7d67ae7528fdda142e51dda401e9f801563c947a (diff)
autogen some http code
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/main.go b/main.go
index 7a24617..5f7f6d4 100644
--- a/main.go
+++ b/main.go
@@ -208,6 +208,12 @@ func main() {
badExit(err)
}
}
+
+ if pf.DoHTTP {
+ if err := pb.makeHTTPFile(pf); err != nil {
+ badExit(err)
+ }
+ }
}
func okExit(s string) {