This repository was archived by the owner on Mar 23, 2025. It is now read-only.
File tree 5 files changed +8
-4
lines changed
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
52
52
### CLI
53
53
54
54
```
55
- Mango - Manga Server and Web Reader. Version 0.20.1
55
+ Mango - Manga Server and Web Reader. Version 0.20.2
56
56
57
57
Usage:
58
58
@@ -75,6 +75,7 @@ The default config file location is `~/.config/mango/config.yml`. It might be di
75
75
76
76
``` yaml
77
77
---
78
+ host : 0.0.0.0
78
79
port : 9000
79
80
base_url : /
80
81
session_secret : mango-session-secret
@@ -89,9 +90,10 @@ download_timeout_seconds: 30
89
90
page_margin : 30
90
91
disable_login : false
91
92
default_username : " "
93
+ auth_proxy_header_name : " "
92
94
mangadex :
93
95
base_url : https://mangadex.org
94
- api_url : https://mangadex.org/api
96
+ api_url : https://mangadex.org/api/v2
95
97
download_wait_seconds : 5
96
98
download_retries : 4
97
99
download_queue_db_path : ~/mango/queue.db
Original file line number Diff line number Diff line change 1
1
name : mango
2
- version : 0.20.1
2
+ version : 0.20.2
3
3
4
4
authors :
5
5
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ class Config
5
5
6
6
@[YAML ::Field (ignore: true )]
7
7
property path : String = " "
8
+ property host : String = " 0.0.0.0"
8
9
property port : Int32 = 9000
9
10
property base_url : String = " /"
10
11
property session_secret : String = " mango-session-secret"
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ require "option_parser"
8
8
require " clim"
9
9
require " tallboy"
10
10
11
- MANGO_VERSION = " 0.20.1 "
11
+ MANGO_VERSION = " 0.20.2 "
12
12
13
13
# From http://www.network-science.de/ascii/
14
14
BANNER = %{
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ class Server
49
49
{% if flag?(:release ) % }
50
50
Kemal .config.env = " production"
51
51
{% end % }
52
+ Kemal .config.host_binding = Config .current.host
52
53
Kemal .config.port = Config .current.port
53
54
Kemal .run
54
55
end
You can’t perform that action at this time.
0 commit comments