This repository was archived by the owner on Mar 23, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +8
-4
lines changed
Expand file tree Collapse file tree 5 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ The official docker images are available on [Dockerhub](https://hub.docker.com/r
5252### CLI
5353
5454```
55- Mango - Manga Server and Web Reader. Version 0.20.1
55+ Mango - Manga Server and Web Reader. Version 0.20.2
5656
5757 Usage:
5858
@@ -75,6 +75,7 @@ The default config file location is `~/.config/mango/config.yml`. It might be di
7575
7676``` yaml
7777---
78+ host : 0.0.0.0
7879port : 9000
7980base_url : /
8081session_secret : mango-session-secret
@@ -89,9 +90,10 @@ download_timeout_seconds: 30
8990page_margin : 30
9091disable_login : false
9192default_username : " "
93+ auth_proxy_header_name : " "
9294mangadex :
9395 base_url : https://mangadex.org
94- api_url : https://mangadex.org/api
96+ api_url : https://mangadex.org/api/v2
9597 download_wait_seconds : 5
9698 download_retries : 4
9799 download_queue_db_path : ~/mango/queue.db
Original file line number Diff line number Diff line change 11name : mango
2- version : 0.20.1
2+ version : 0.20.2
33
44authors :
55
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ class Config
55
66 @[YAML ::Field (ignore: true )]
77 property path : String = " "
8+ property host : String = " 0.0.0.0"
89 property port : Int32 = 9000
910 property base_url : String = " /"
1011 property session_secret : String = " mango-session-secret"
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ require "option_parser"
88require " clim"
99require " tallboy"
1010
11- MANGO_VERSION = " 0.20.1 "
11+ MANGO_VERSION = " 0.20.2 "
1212
1313# From http://www.network-science.de/ascii/
1414BANNER = %{
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ class Server
4949 {% if flag?(:release ) % }
5050 Kemal .config.env = " production"
5151 {% end % }
52+ Kemal .config.host_binding = Config .current.host
5253 Kemal .config.port = Config .current.port
5354 Kemal .run
5455 end
You can’t perform that action at this time.
0 commit comments