From 6d6bbe0840ff7a4b610b38a887ff354e1f2a1fd0 Mon Sep 17 00:00:00 2001 From: Jan-Erik Rediger Date: Mon, 3 Jun 2024 20:59:40 +0200 Subject: [PATCH] add deploy command --- README.md | 8 +++++++- cmd/httpd/main.ha | 1 - 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9ec6372..c3f1454 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,12 @@ Then: make test ``` +## Deploy + +``` +fly deploy +``` + ## License -[MPL](./COPYING) +[MPL](./COPYING). diff --git a/cmd/httpd/main.ha b/cmd/httpd/main.ha index 186cb81..abc7a5a 100644 --- a/cmd/httpd/main.ha +++ b/cmd/httpd/main.ha @@ -168,7 +168,6 @@ fn handle_file(buf: *io::stream, serv_req: *http::server_request) (void | notfou io::writeall(buf, filecontent)!; - http::response_write( serv_req.socket, http::STATUS_OK,