Merge pull request 'Add compression via content-encoding' (!12) from content-encoding-compression into main
Reviewed-on: #12
This commit is contained in:
commit
713912071e
3 changed files with 5 additions and 3 deletions
|
@ -165,6 +165,7 @@ let setup_app level influx port host datadir cachedir configdir run_batch_viz_fl
|
||||||
in
|
in
|
||||||
Dream.run ~port ~interface:host ~tls:false ~error_handler
|
Dream.run ~port ~interface:host ~tls:false ~error_handler
|
||||||
@@ Dream.logger
|
@@ Dream.logger
|
||||||
|
@@ Dream_encoding.compress
|
||||||
@@ Dream.sql_pool ("sqlite3:" ^ dbpath)
|
@@ Dream.sql_pool ("sqlite3:" ^ dbpath)
|
||||||
@@ Http_status_metrics.handle
|
@@ Http_status_metrics.handle
|
||||||
@@ Builder_web.Middleware.remove_trailing_url_slash
|
@@ Builder_web.Middleware.remove_trailing_url_slash
|
||||||
|
|
6
bin/dune
6
bin/dune
|
@ -7,9 +7,9 @@
|
||||||
(public_name builder-web)
|
(public_name builder-web)
|
||||||
(name builder_web_app)
|
(name builder_web_app)
|
||||||
(modules builder_web_app)
|
(modules builder_web_app)
|
||||||
(libraries builder_web builder_system mirage-crypto-rng.unix cmdliner
|
(libraries builder_web builder_system dream dream-encoding
|
||||||
logs.cli metrics metrics-lwt metrics-influx metrics-rusage ipaddr
|
mirage-crypto-rng.unix cmdliner logs.cli metrics metrics-lwt metrics-influx
|
||||||
ipaddr.unix http_status_metrics))
|
metrics-rusage ipaddr ipaddr.unix http_status_metrics))
|
||||||
|
|
||||||
(executable
|
(executable
|
||||||
(public_name builder-db)
|
(public_name builder-db)
|
||||||
|
|
|
@ -19,6 +19,7 @@ depends: [
|
||||||
"dune" {>= "2.7.0"}
|
"dune" {>= "2.7.0"}
|
||||||
"builder" {>= "0.4.0"}
|
"builder" {>= "0.4.0"}
|
||||||
"dream" {>= "1.0.0~alpha7"}
|
"dream" {>= "1.0.0~alpha7"}
|
||||||
|
"dream-encoding"
|
||||||
"bos"
|
"bos"
|
||||||
"ohex" {>= "0.2.0"}
|
"ohex" {>= "0.2.0"}
|
||||||
"lwt" {>= "5.7.0"}
|
"lwt" {>= "5.7.0"}
|
||||||
|
|
Loading…
Reference in a new issue