refactor(main): move map_port to network (#2115)
This commit is contained in:
parent
d91e2c9ecb
commit
1c50bc502b
12 changed files with 64 additions and 61 deletions
|
|
@ -723,7 +723,7 @@ namespace confighttp {
|
|||
start() {
|
||||
auto shutdown_event = mail::man->event<bool>(mail::shutdown);
|
||||
|
||||
auto port_https = map_port(PORT_HTTPS);
|
||||
auto port_https = net::map_port(PORT_HTTPS);
|
||||
auto address_family = net::af_from_enum_string(config::sunshine.address_family);
|
||||
|
||||
https_server_t server { config::nvhttp.cert, config::nvhttp.pkey };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue